Closed
Description
------ --------------------------------------------------------------
Line Doctrine/Expr/PartialSelect.php
------ --------------------------------------------------------------
Internal error: Class 'parent' not found
Run PHPStan with --debug option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new
------ --------------------------------------------------------------
PHP Fatal error: Uncaught Error: Class 'parent' not found in /.../vendor/phpstan/phpstan-doctrine/src/Type/Doctrine/QueryBuilder/Expr/NewExprDynamicReturnTypeExtension.php:52
Stack trace:
#0 /.../vendor/phpstan/phpstan/src/Analyser/Scope.php(1498): PHPStan\Type\Doctrine\QueryBuilder\Expr\NewExprDynamicReturnTypeExtension->getTypeFromStaticMethodCall(Object(PHPStan\Reflection\Php\PhpMethodReflection), Object(PhpParser\Node\Expr\StaticCall), Object(PHPStan\Analyser\Scope))
#1 /.../vendor/phpstan/phpstan/src/Analyser/Scope.php(372): PHPStan\Analyser\Scope->resolveType(Object(PhpParser\Node\Expr\StaticCall))
#2 /.../vendor/phpstan/phpstan/src/Rules/FunctionCallParametersCheck.php(98): PHPStan\Analyser\Scope->getType(Object(PhpParser\Node\Expr\StaticCall))
#3 /.../vendor/phpstan/phpstan/src/Rules/Methods/CallStaticMethodsRule.php(265): PHPStan\Rules\FunctionCallParamet in /.../vendor/phpstan/phpstan-doctrine/src/Type/Doctrine/QueryBuilder/Expr/NewExprDynamicReturnTypeExtension.php on line 52
Metadata
Metadata
Assignees
Labels
No labels