@@ -72,7 +72,7 @@ |
||
72 | 72 | /** @var Cache $cacheComponent */ |
73 | 73 | $cacheComponent = Yii::$app->{$this->cacheComponent}; |
74 | 74 | |
75 | - $hash = $cacheComponent->getOrSet($key, function () use ($path) { |
|
75 | + $hash = $cacheComponent->getOrSet($key, function() use ($path) { |
|
76 | 76 | return $this->fileSystemHash->hashPath($path); |
77 | 77 | }); |
78 | 78 |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** @var SplFileInfo $file */ |
23 | 23 | foreach ($it as $file) { |
24 | 24 | if ($file->isFile()) { |
25 | - $hashes[] = md5_file($file) . '-' . $this->hashPathName((string)$file); |
|
25 | + $hashes[] = md5_file($file) . '-' . $this->hashPathName((string) $file); |
|
26 | 26 | } |
27 | 27 | } |
28 | 28 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | sort($hashes); |
33 | 33 | } |
34 | 34 | } else { |
35 | - $hashes[] = md5_file($path) . '-' . $this->hashPathName((string)$path); |
|
35 | + $hashes[] = md5_file($path) . '-' . $this->hashPathName((string) $path); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | return md5(implode($hashes, '|')); |