#96567php ast catches wrong class
Description
PHP AST recognizes the RecordsContentObject but mistakenly recognizes it as a PageRenderer and captures it as a page render class. This triggers the following error Breaking: #93003 – PageRenderer renders only full page
example method which throws the error
public function render()
{
$conf = $this->buildConfArray($this->arguments[‘uid’]);
$recordsObjectManager = $this->objectManager->get(RecordsContentObject::class);
return $this->RecordsContentObject->render($conf);
}
I would like to request a modification of the scanner.