In this example the method getLabel
exists twice in my code; in two Symfony repositories. Although I programmed $this->uow->categories
and I strong-typed this categories property with phpdoc in my uow, still it interpretes the
method from the other (properties) repository, which leads to a incorrect type expectation warning.