Skip to content

Commit de585a5

Browse files
committed
upgrade
1 parent 0567354 commit de585a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/QueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ protected function fixNodes(array &$dictionary, $parent = null): int
912912
// used to be null
913913
// According to the manual: https://www.php.net/manual/en/language.types.array.php
914914
// Null will be cast to the empty string, i.e. the key null will actually be stored under "".
915-
$dictionary[null ?? ''] = reset($dictionary);
915+
$dictionary[''] = reset($dictionary);
916916

917917
unset($dictionary[key($dictionary)]);
918918

0 commit comments

Comments
 (0)