Skip to content

Commit

Permalink
removing unneccessary state accessor initialization in costructor as …
Browse files Browse the repository at this point in the history
…it collides with array loaders ability to use new state accessor logic
  • Loading branch information
realshadow committed Apr 19, 2016
1 parent c7a5672 commit 62ea3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Finite/StateMachine/StateMachine.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function __construct(
) {
$this->object = $object;
$this->dispatcher = $dispatcher ?: new EventDispatcher();
$this->stateAccessor = $stateAccessor ?: new PropertyPathStateAccessor();
$this->stateAccessor = $stateAccessor;
}

/**
Expand Down

0 comments on commit 62ea3fc

Please sign in to comment.