Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag from PHPStan configuration files and fixes all associated errors in our code base. [MAILPOET-3236]
This commit is contained in:
@ -54,6 +54,9 @@ class ImportExportRepository {
|
||||
$this->filterHandler = $filterHandler;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ClassMetadata<object>
|
||||
*/
|
||||
protected function getClassMetadata(string $className): ClassMetadata {
|
||||
return $this->entityManager->getClassMetadata($className);
|
||||
}
|
||||
|
Reference in New Issue
Block a user