Skip to content

Commit 642db2f

Browse files
authored
Fix exception message (#237)
1 parent a0d3ff6 commit 642db2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Fixtures/StateMachine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function apply($action)
4444
if (isset($this->transitions[$action]) && $this->transitions[$action]['from'] === $this->currentState) {
4545
$this->currentState = $this->transitions[$action]['to'];
4646
} else {
47-
throw new Exception('Transition not found,');
47+
throw new Exception('Transition not found.');
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)