@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | public function removeFilePath($filePath) |
51 | 51 | { |
52 | 52 | if (false !== ($key = array_search($filePath, $this->filePaths))) { |
53 | - unset($this->filePaths[ $key ]); |
|
53 | + unset($this->filePaths[$key]); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | return $this; |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | |
104 | 104 | if (is_dir($filePath) AND ! in_array($filePath, $this->filePaths)) { |
105 | 105 | if (isset($offset)) { |
106 | - $this->filePaths[ $offset ] = $filePath; |
|
106 | + $this->filePaths[$offset] = $filePath; |
|
107 | 107 | } else { |
108 | 108 | $this->filePaths[] = $filePath; |
109 | 109 | } |
@@ -98,6 +98,6 @@ |
||
98 | 98 | */ |
99 | 99 | protected function addError($code, $message) |
100 | 100 | { |
101 | - $this->errors[ $code ] = $message; |
|
101 | + $this->errors[$code] = $message; |
|
102 | 102 | } |
103 | 103 | } |
104 | 104 | \ No newline at end of file |
@@ -105,7 +105,7 @@ |
||
105 | 105 | $arrayCopy = []; |
106 | 106 | |
107 | 107 | foreach ($this as $key => $value) { |
108 | - $arrayCopy[ $key ] = $value; |
|
108 | + $arrayCopy[$key] = $value; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | return $arrayCopy; |