Skip to content

Commit d041490

Browse files
Add some missing return types to internal/final classes
1 parent f808c09 commit d041490

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Util/OrderedHashMapIterator.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ public function __construct(array &$elements, array &$orderedKeys, array &$manag
7676
$this->managedCursors[$this->cursorId] = &$this->cursor;
7777
}
7878

79-
/**
80-
* @return array
81-
*/
82-
public function __sleep()
79+
public function __sleep(): array
8380
{
8481
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
8582
}

0 commit comments

Comments
 (0)