Skip to content

Commit b25224e

Browse files
committed
first_key fix
1 parent 6608e14 commit b25224e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function is_first_key_operator($document): bool
228228
return false;
229229
}
230230

231-
return '$' === $firstKey[0] ?? null;
231+
return '$' === ($firstKey[0] ?? null);
232232
}
233233

234234
/**

0 commit comments

Comments
 (0)