mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
[Model] Simplify full namespaces for already included resources (#954)
* Fixed #565 by using the imported class name if present. Fixed a bug where cast type was not properly added when the return type was found via phpdoc. * Fixed errors with phpdocumentor/type-resolver:1.0
This commit is contained in:
@@ -37,7 +37,7 @@ class Simple extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* @return what|ever|we-write/here
|
||||
* @return \what|\ever|\we-write/here
|
||||
*/
|
||||
public function getAttributeTakesPhpdocLiteralAttribute()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user