The expression $this->conditions; of type SplObjectStorage|Vivait\...el\ConditionInterface[] adds the type Vivait\Voter\Model\ConditionInterface[] to the return on line 63 which is incompatible with the return type declared by the interface Vivait\Voter\Model\VoterInterface::getConditions of type SplObjectStorage|Vivait\...er\ConditionInterface[].
Loading history...
64
}
65
66
/**
67
* @param ConditionInterface $condition
68
* @return $this
69
*/
70
public function removeCondition(ConditionInterface $condition)