Skip to content

Commit

Permalink
Merge pull request #4 from coryrose1/analysis-zOWv40
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
coryrose1 authored Nov 4, 2019
2 parents 7d6796d + 0d06140 commit 845fb48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/ScaffoldLivewireTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ protected function viewContents()

// We need access to the table component class to retrieve and construct the fields and css
$tableComponent = new ReflectionClass($this->parser->baseClassNamespace.'\\'.$this->parser->className());
list($fields, $css) = $this->constructFieldsAndCss($tableComponent);
list($patterns, $replacements) = $this->constructCssPatternsAndReplacements($css);
[$fields, $css] = $this->constructFieldsAndCss($tableComponent);
[$patterns, $replacements] = $this->constructCssPatternsAndReplacements($css);

// Replace the contents of the sub with header and data rows and css classes
return preg_replace('/\[header\]/', $this->headerRows($fields, $css),
Expand Down

0 comments on commit 845fb48

Please sign in to comment.