@@ -203,7 +203,7 @@ |
||
203 | 203 | if (false === is_array($result)) { |
204 | 204 | return array_filter( |
205 | 205 | explode(',', $result), |
206 | - function ($value) { |
|
206 | + function($value) { |
|
207 | 207 | return false === empty($value); |
208 | 208 | } |
209 | 209 | ); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | |
87 | 87 | $dom->save($this->outputPath); |
88 | 88 | |
89 | - $output->writeln('XML generated at '.$this->outputPath); |
|
89 | + $output->writeln('XML generated at ' . $this->outputPath); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -102,9 +102,9 @@ discard block |
||
102 | 102 | $content = str_replace(array("\r\n", "\r"), "\n", $content); |
103 | 103 | $lines = explode("\n", $content); |
104 | 104 | |
105 | - $lineContent = array_slice($lines, $line-1, 1); |
|
105 | + $lineContent = array_slice($lines, $line - 1, 1); |
|
106 | 106 | $lineContent = reset($lineContent); |
107 | - $start = strpos($lineContent, $text.''); |
|
107 | + $start = strpos($lineContent, $text . ''); |
|
108 | 108 | |
109 | 109 | return [ |
110 | 110 | 'snippet' => $lineContent, |