@@ -182,7 +182,7 @@ |
||
| 182 | 182 | 'size' => 0, |
| 183 | 183 | 'timestamp' => time() - 200, |
| 184 | 184 | ], |
| 185 | - ]; |
|
| 185 | + ]; |
|
| 186 | 186 | |
| 187 | 187 | $b = [ |
| 188 | 188 | [ |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use League\Flysystem\AdapterInterface; |
| 6 | 6 | use League\Flysystem\Config; |
| 7 | -use League\Flysystem\Util; |
|
| 8 | 7 | |
| 9 | 8 | class ReadOnlyFallbackAdapter implements AdapterInterface |
| 10 | 9 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | { |
| 158 | 158 | if ($this->_mainAdapter->has($path)) |
| 159 | 159 | { |
| 160 | - return $this->_mainAdapter->read($path); |
|
| 160 | + return $this->_mainAdapter->read($path); |
|
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | { |
| 172 | 172 | if ($this->_mainAdapter->has($path)) |
| 173 | 173 | { |
| 174 | - return $this->_mainAdapter->readStream($path); |
|
| 174 | + return $this->_mainAdapter->readStream($path); |
|
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | return $this->_readOnlyAdapter->readStream($path); |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | { |
| 214 | 214 | if ($this->_mainAdapter->has($path)) |
| 215 | 215 | { |
| 216 | - return $this->_mainAdapter->getMetadata($path); |
|
| 216 | + return $this->_mainAdapter->getMetadata($path); |
|
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | return $this->_readOnlyAdapter->getMetadata($path); |
@@ -224,9 +224,9 @@ discard block |
||
| 224 | 224 | */ |
| 225 | 225 | public function getSize($path) |
| 226 | 226 | { |
| 227 | - if ($this->_mainAdapter->has($path)) |
|
| 227 | + if ($this->_mainAdapter->has($path)) |
|
| 228 | 228 | { |
| 229 | - return $this->_mainAdapter->getSize($path); |
|
| 229 | + return $this->_mainAdapter->getSize($path); |
|
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 | return $this->_readOnlyAdapter->getSize($path); |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | { |
| 240 | 240 | if ($this->_mainAdapter->has($path)) |
| 241 | 241 | { |
| 242 | - return $this->_mainAdapter->getMimetype($path); |
|
| 242 | + return $this->_mainAdapter->getMimetype($path); |
|
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | return $this->_readOnlyAdapter->getMimetype($path); |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | { |
| 253 | 253 | if ($this->_mainAdapter->has($path)) |
| 254 | 254 | { |
| 255 | - return $this->_mainAdapter->getTimestamp($path); |
|
| 255 | + return $this->_mainAdapter->getTimestamp($path); |
|
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | return $this->_readOnlyAdapter->getTimestamp($path); |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | { |
| 266 | 266 | if ($this->_mainAdapter->has($path)) |
| 267 | 267 | { |
| 268 | - return $this->_mainAdapter->getVisibility($path); |
|
| 268 | + return $this->_mainAdapter->getVisibility($path); |
|
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | return $this->_readOnlyAdapter->getVisibility($path); |