Skip to content

Commit

Permalink
Fix return types for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 4, 2021
1 parent 8baf0bb commit 9a4fcec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Helper/HelperSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ public function getCommand()
}

/**
* @return Helper[]
* @return \Traversable<Helper>
*/
#[\ReturnTypeWillChange]
public function getIterator()
{
return new \ArrayIterator($this->helpers);
Expand Down

0 comments on commit 9a4fcec

Please sign in to comment.