1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix ArrayIterator::unserialize return type

This commit is contained in:
Brown 2019-01-30 14:56:10 -05:00
parent 4bc2fcc2f8
commit 900d5fa9db
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ return [
'ArrayIterator::setFlags' => ['void', 'flags'=>'string'],
'ArrayIterator::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'],
'ArrayIterator::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'],
'ArrayIterator::unserialize' => ['string', 'serialized'=>'string'],
'ArrayIterator::unserialize' => ['void', 'serialized'=>'string'],
'ArrayIterator::valid' => ['bool'],
'ArrayObject::__construct' => ['void', 'input='=>'array|object', 'flags='=>'int', 'iterator_class='=>'string'],
'ArrayObject::append' => ['void', 'value'=>'mixed'],

View File

@ -633,7 +633,7 @@ class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Coun
* @param string $serialized <p>
* The serialized ArrayIterator object to be unserialized.
* </p>
* @return string The <b>ArrayIterator</b>.
* @return void The <b>ArrayIterator</b>.
* @since 5.3.0
*/
public function unserialize($serialized) { }