MemoryManager: fix strict-rules error on phpstan level 7

This commit is contained in:
Dylan K. Taylor 2020-03-15 15:49:04 +00:00
parent 5c7b05c2ba
commit 06a9c98ded

View File

@ -404,8 +404,8 @@ class MemoryManager{
"properties" => []
];
if($reflection->getParentClass()){
$info["parent"] = $reflection->getParentClass()->getName();
if(($parent = $reflection->getParentClass()) !== false){
$info["parent"] = $parent->getName();
}
if(count($reflection->getInterfaceNames()) > 0){