@@ -192,13 +192,13 @@ |
||
192 | 192 | $inverseRef = []; |
193 | 193 | foreach ($tmpResult as $index => $mainContent) |
194 | 194 | { |
195 | - $inverseRef[ $mainContent[ 'path' ] ] = $index; |
|
195 | + $inverseRef[$mainContent['path']] = $index; |
|
196 | 196 | } |
197 | 197 | |
198 | 198 | $fallbackContents = $this->_readOnlyAdapter->listContents($directory, $recursive); |
199 | 199 | foreach ($fallbackContents as $fallbackContent) |
200 | 200 | { |
201 | - if (!isset($inverseRef[ $fallbackContent[ 'path' ] ])) |
|
201 | + if (!isset($inverseRef[$fallbackContent['path']])) |
|
202 | 202 | { |
203 | 203 | $tmpResult[] = $fallbackContent; |
204 | 204 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $this |
39 | 39 | ->assert('test path existence on mainAdapter') |
40 | 40 | ->given($this->calling($mainAdapter)->has = true, |
41 | - $this->calling($readOnlyAdapter)->has = false) |
|
41 | + $this->calling($readOnlyAdapter)->has = false) |
|
42 | 42 | ->then |
43 | 43 | ->boolean($this->testedInstance->has('/foo'))->isTrue |
44 | 44 | ->mock($mainAdapter)->receive('has')->withIdenticalArguments('/foo')->once |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $this |
49 | 49 | ->assert('test none existing path') |
50 | 50 | ->given($this->calling($mainAdapter)->has = false, |
51 | - $this->calling($readOnlyAdapter)->has = false) |
|
51 | + $this->calling($readOnlyAdapter)->has = false) |
|
52 | 52 | ->then |
53 | 53 | ->boolean($this->testedInstance->has('/foo'))->isFalse |
54 | 54 | ->mock($mainAdapter)->receive('has')->withIdenticalArguments('/foo')->once |