It seems like \Tarantool\Client\Error::fromMap($error) of type object<self> is incompatible with the declared type object<Tarantool\Client\Error>|null of property $error.
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...
39
}
40
41
81
return $self;
42
}
43
44
6
public static function unknownSpace(string $spaceName) : self
45
{
46
6
return new self(\sprintf("Space '%s' does not exist", $spaceName));
47
}
48
49
6
public static function unknownIndex(string $indexName, int $spaceId) : self
50
{
51
6
return new self(\sprintf("No index '%s' is defined in space #%d", $indexName, $spaceId));
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..