@@ -57,6 +57,6 @@ |
||
57 | 57 | */ |
58 | 58 | public function getObject() |
59 | 59 | { |
60 | - return (object)['content' => $this->content]; |
|
60 | + return (object) ['content' => $this->content]; |
|
61 | 61 | } |
62 | 62 | } |
@@ -44,6 +44,6 @@ |
||
44 | 44 | */ |
45 | 45 | public function getObject() |
46 | 46 | { |
47 | - return (object)$this->getArray(); |
|
47 | + return (object) $this->getArray(); |
|
48 | 48 | } |
49 | 49 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | ); |
82 | 82 | } |
83 | 83 | list($this->name, $this->extension) = $pathHelper->splitFilename($filename); |
84 | - $this->hasExtension = (bool)$this->extension; |
|
84 | + $this->hasExtension = (bool) $this->extension; |
|
85 | 85 | $this->errorHandler = new ErrorToExceptionConverter(); |
86 | 86 | } |
87 | 87 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | if ($this->isWritable() === false) { |
187 | 187 | throw new PermissionDeniedException("The current file is not writable!"); |
188 | 188 | } |
189 | - file_put_contents($this->filenameWithPath, $content . $this->getContent()->get()); |
|
189 | + file_put_contents($this->filenameWithPath, $content.$this->getContent()->get()); |
|
190 | 190 | return $this; |
191 | 191 | } |
192 | 192 | |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | if (false === $this->hasExtension()) { |
243 | 243 | return $this->name; |
244 | 244 | } |
245 | - return $this->name . static::EXTENSION_SEPARATOR . $this->extension; |
|
245 | + return $this->name.static::EXTENSION_SEPARATOR.$this->extension; |
|
246 | 246 | } |
247 | 247 | |
248 | 248 | /** |