Fix Castables issue #1312 (#1388)

* Return Castable class if failed to detect it from return types

* fix-style

* Add CHANGELOG.md entry
This commit is contained in:
Bartlomiej Kwarcinski
2023-02-04 14:56:40 +01:00
committed by GitHub
parent ce24d4b013
commit 81d5b223ff
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1347,7 +1347,7 @@ class ModelsCommand extends Command
return $this->getReturnTypeFromReflection($methodReflection) ??
$this->getReturnTypeFromDocBlock($methodReflection, $reflection) ??
'mixed';
$type;
}
/**