@@ -134,14 +134,14 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param mixed $offset |
136 | 136 | */ |
137 | - public function offsetExists($offset){} |
|
137 | + public function offsetExists($offset) {} |
|
138 | 138 | |
139 | 139 | /** |
140 | 140 | * \ArrayAccess unused method |
141 | 141 | * |
142 | 142 | * @param mixed $offset |
143 | 143 | */ |
144 | - public function offsetUnset($offset){} |
|
144 | + public function offsetUnset($offset) {} |
|
145 | 145 | |
146 | 146 | /** |
147 | 147 | * \ArrayAccess - get array value from object |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | */ |
179 | 179 | public function setDimension($maxWidth, $maxHeight) |
180 | 180 | { |
181 | - if ( (int) $maxWidth && (int) $maxHeight) { |
|
181 | + if ((int) $maxWidth && (int) $maxHeight) { |
|
182 | 182 | $this->dimensions = array($maxWidth, $maxHeight); |
183 | 183 | } else { |
184 | 184 | $this->error = $this->commonUploadErrors[$this->language]['ERROR_03']; |
@@ -418,7 +418,7 @@ discard block |
||
418 | 418 | return false; |
419 | 419 | } |
420 | 420 | |
421 | - $create = !is_dir($dir) ? @mkdir('' . $dir, (int) $permission, true) : true; |
|
421 | + $create = !is_dir($dir) ? @mkdir(''.$dir, (int) $permission, true) : true; |
|
422 | 422 | |
423 | 423 | if (!$create) { |
424 | 424 | $this->error = sprintf($this->commonUploadErrors[$this->language]['ERROR_05'], $dir); |