1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix ArrayIterator::{uasort,uksort} parameter type (#2254)

This commit is contained in:
Joram Schrijver 2019-10-22 14:45:25 +02:00 committed by Matthew Brown
parent fc16eb5e92
commit 39b25f9008

View File

@ -597,7 +597,7 @@ class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Coun
/**
* User defined sort
* @link http://php.net/manual/en/arrayiterator.uasort.php
* @param string $cmp_function <p>
* @param callable $cmp_function <p>
* The compare function used for the sort.
* </p>
* @return void
@ -607,7 +607,7 @@ class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Coun
/**
* User defined sort
* @link http://php.net/manual/en/arrayiterator.uksort.php
* @param string $cmp_function <p>
* @param callable $cmp_function <p>
* The compare function used for the sort.
* </p>
* @return void