mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-14 18:31:22 +08:00
Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces
This commit is contained in:
@@ -28,6 +28,9 @@ trait ArrayAccessTrait
|
||||
* This method is required by the SPL interface [[\IteratorAggregate]].
|
||||
* It will be implicitly called when you use `foreach` to traverse the collection.
|
||||
* @return \ArrayIterator an iterator for traversing the cookies in the collection.
|
||||
*
|
||||
* @phpstan-return \ArrayIterator<array-key, mixed>
|
||||
* @psalm-return \ArrayIterator<array-key, mixed>
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function getIterator()
|
||||
|
||||
Reference in New Issue
Block a user