Skip to content

Commit 28748b9

Browse files
authored
fix wrong variable
1 parent c0c09a9 commit 28748b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Metabor/Statemachine/Filter/FilterTransitionByEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class FilterTransitionByEvent extends \FilterIterator
2121
*/
2222
public function __construct(\Traversable $transitions, $eventName)
2323
{
24-
parent::__construct(new \IteratorIterator($states));
24+
parent::__construct(new \IteratorIterator($transitions));
2525
$this->eventName = $eventName;
2626
}
2727

0 commit comments

Comments
 (0)