It seems like $factories of type iterable is incompatible with the declared type JBen87\ParsleyBundle\Con...tory\FactoryInterface[] of property $factories.
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...
21
2
}
22
23
/**
24
* @param SymfonyConstraint $constraint
25
*
26
* @return FactoryInterface
27
* @throws ConstraintException
28
*/
29
2
public function findForConstraint(SymfonyConstraint $constraint): FactoryInterface
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..