Skip to content

Commit f2ecdac

Browse files
committed
Fix
1 parent 63d0670 commit f2ecdac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public function afterClearstatcacheCall(): self
421421
'filetype',
422422
'fileperms',
423423
] as $functionName) {
424-
if (!Strings::startsWith($exprString, $functionName . '(') && !Strings::startsWith($exprString, '\\' . $functionName . '(')) {
424+
if (!Strings::startsWith((string) $exprString, $functionName . '(') && !Strings::startsWith((string) $exprString, '\\' . $functionName . '(')) {
425425
continue;
426426
}
427427

0 commit comments

Comments
 (0)