Skip to content

Commit 7a15050

Browse files
authored
minor fix for php8.1 compatibility (#514)
1 parent 4f90d7c commit 7a15050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Branch/Condition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(CommandInterface $parent, callable $condition)
3737
/**
3838
* @return \Generator
3939
*/
40-
public function getIterator()
40+
public function getIterator(): \Generator
4141
{
4242
if (($this->condition)()) {
4343
yield $this->command;

0 commit comments

Comments
 (0)