Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a4fcec

Browse files
committed
Fix return types for PHP 8.1
1 parent 8baf0bb commit 9a4fcec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Helper/HelperSet.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ public function getCommand()
9898
}
9999

100100
/**
101-
* @return Helper[]
101+
* @return \Traversable<Helper>
102102
*/
103+
#[\ReturnTypeWillChange]
103104
public function getIterator()
104105
{
105106
return new \ArrayIterator($this->helpers);

0 commit comments

Comments
 (0)