@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | return false; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - return ['type' => 'file', 'contents' => $contents, 'size' => $result, 'path' => $path]; |
|
| 40 | + return [ 'type' => 'file', 'contents' => $contents, 'size' => $result, 'path' => $path ]; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | return false; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - return ['type' => 'file', 'contents' => $contents, 'size' => $result, 'path' => $path]; |
|
| 55 | + return [ 'type' => 'file', 'contents' => $contents, 'size' => $result, 'path' => $path ]; |
|
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | return $this->adapter->delete($dirname); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - throw new \InvalidArgumentException($dirname . 'is not a valid directory.'); |
|
| 107 | + throw new \InvalidArgumentException($dirname.'is not a valid directory.'); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | public function read($path) |
| 130 | 130 | { |
| 131 | - return ['contents' => $this->adapter->read($path), 'path' => $path]; |
|
| 131 | + return [ 'contents' => $this->adapter->read($path), 'path' => $path ]; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
@@ -182,6 +182,6 @@ discard block |
||
| 182 | 182 | { |
| 183 | 183 | $timestamp = $this->adapter->mtime($path); |
| 184 | 184 | |
| 185 | - return ['timestamp' => $timestamp]; |
|
| 185 | + return [ 'timestamp' => $timestamp ]; |
|
| 186 | 186 | } |
| 187 | 187 | } |