This commit is contained in:
Barry vd. Heuvel
2020-12-04 09:22:58 +01:00
parent db53e8e2b5
commit ff54a20d21
4 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -1108,7 +1108,7 @@ class ModelsCommand extends Command
if ($reflectionType === null) {
$reflectionType = $this->getReturnTypeFromDocBlock($methodReflection);
}
if($reflectionType === 'static' || $reflectionType === '$this') {
$reflectionType = $type;
}