It seems like $providers of type array is incompatible with the declared type Ticaje\Hexagonal\Applica...se\ImplementorInterface of property $providers.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
33
}
34
35
/**
36
* @inheritDoc
37
*/
38
public function execute(UseCaseCommandInterface $command): ResponseInterface
39
{
40
if (!isset($this->providers[get_class($command)])) {
41
throw new \InvalidArgumentException('There are no commands assigned to this Handler');
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..