Are you sure the assignment to $links is correct as $this->getTableLinks() (which targets ByTIC\Codeception\Page\A...eTrait::getTableLinks()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
The doc-type \ByTIC\Common\Tests\AcceptanceTester; could not be parsed: Expected "|" or "end of type", but got ";" at position 36. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Are you sure the assignment to $links is correct as $this->getTableLinks() (which targets ByTIC\Codeception\Page\A...eTrait::getTableLinks()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.