File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ final class Filter
2828 *
2929 * @var bool[]
3030 */
31- private $ isFileCallsCache = [];
31+ private $ isFileCache = [];
3232
3333 /**
3434 * Adds a directory to the whitelist (recursively).
@@ -95,8 +95,8 @@ public function removeFileFromWhitelist(string $filename): void
9595 */
9696 public function isFile (string $ filename ): bool
9797 {
98- if (isset ($ this ->isFileCallsCache [$ filename ])) {
99- return $ this ->isFileCallsCache [$ filename ];
98+ if (isset ($ this ->isFileCache [$ filename ])) {
99+ return $ this ->isFileCache [$ filename ];
100100 }
101101
102102 if ($ filename === '- ' ||
@@ -113,7 +113,7 @@ public function isFile(string $filename): bool
113113 $ isFile = \file_exists ($ filename );
114114 }
115115
116- $ this ->isFileCallsCache [$ filename ] = $ isFile ;
116+ $ this ->isFileCache [$ filename ] = $ isFile ;
117117
118118 return $ isFile ;
119119 }
You can’t perform that action at this time.
0 commit comments