The variable $innerRepository does not exist. Did you forget to declare it?
This check marks access to variables or properties that have not been declared yet. While PHP
has no explicit notion of declaring a variable, accessing it before a value is assigned
to it is most likely a bug.
It seems like $eventDispatcher of type object<Symfony\Component...entDispatcherInterface> is incompatible with the declared type object<eZ\Publish\Core\E...entDispatcherInterface> of property $eventDispatcher.
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 createBookmark(Location $location): void
25
{
26
parent::createBookmark($location);
27
}
28
29
public function deleteBookmark(Location $location): void
30
{
31
parent::deleteBookmark($location);
32
}
33
34
public function loadBookmarks(int $offset = 0, int $limit = 25): BookmarkList
35
{
36
return parent::loadBookmarks($offset, $limit);
37
}
38
39
public function isBookmarked(Location $location): bool
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.