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...
23
}
24
25
public function buildCell(Cell $cell, array $options)
26
{
27
$property = $options['property'];
28
29
// if the column name is the same as the property name, then assume that
30
// the user has not overridden the property and, if the context is an array,
31
// access it as such.
32
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..