Skip to content

Commit

Permalink
Remove bool typehint from $soft parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Nikolaou committed Jul 31, 2020
1 parent 4612618 commit ed1ece6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StateMachine/StateMachine.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function can($transition, array $context = []): bool
/**
* {@inheritdoc}
*/
public function apply($transition, bool $soft = false, array $context = []): bool
public function apply($transition, $soft = false, array $context = []): bool
{
if (! $this->can($transition, $context)) {
if ($soft) {
Expand Down

0 comments on commit ed1ece6

Please sign in to comment.