The expression return $this->getProvide...::FACADE_STATE_MACHINE) could return the type callable which is incompatible with the type-hinted return Spryker\Zed\StateMachine...eMachineFacadeInterface. Consider adding an additional type-check to rule them out.