@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | public function read() |
| 26 | 26 | { |
| 27 | 27 | if (false === $this->fileExists()) { |
| 28 | - return []; |
|
| 28 | + return [ ]; |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | return $this->getFileContent(); |
@@ -56,10 +56,10 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | private function trimContent(array $contentData) |
| 58 | 58 | { |
| 59 | - $data = []; |
|
| 59 | + $data = [ ]; |
|
| 60 | 60 | |
| 61 | 61 | foreach ($contentData as $item) { |
| 62 | - $data[] = trim($item); |
|
| 62 | + $data[ ] = trim($item); |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | return $data; |