It seems like $propertyAccessor ?: \Sy...reatePropertyAccessor() of type object<Symfony\Component...pertyAccessorInterface> or object<Symfony\Component...ccess\PropertyAccessor> is incompatible with the declared type object<Psi\Component\Gri...olumn\PropertyAccessor> of property $accessor.
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...
22
}
23
24
public function buildCell(Cell $cell, array $options)
25
{
26
$property = $options['property'];
27
28
// if the column name is the same as the property name, then assume that
29
// the user has not overridden the property and, if the context is an array,
30
// access it as such.
31
if ($options['column_name'] === $options['property'] && false === is_object($cell->getContext())) {
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..