We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c09a9 commit 28748b9Copy full SHA for 28748b9
src/Metabor/Statemachine/Filter/FilterTransitionByEvent.php
@@ -21,7 +21,7 @@ class FilterTransitionByEvent extends \FilterIterator
21
*/
22
public function __construct(\Traversable $transitions, $eventName)
23
{
24
- parent::__construct(new \IteratorIterator($states));
+ parent::__construct(new \IteratorIterator($transitions));
25
$this->eventName = $eventName;
26
}
27
0 commit comments