Showing 2 of 13 total issues
Method _transition
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function _transition(StateAwareInterface $subject, $transition)
{
// Retrieve the state machine to use
$stateMachine = $this->_getStateMachineForTransition($subject, $transition);
// Ensure it is not null
Method _throwCouldNotTransitionException
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$message = null,
$code = null,
RootException $previous = null,
$subject = null,
$transition = null