mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Allow casts without property (#1267)
* Allow casts without property * Update changelog
This commit is contained in:
@@ -392,6 +392,7 @@ class ModelsCommand extends Command
|
||||
// the `$type` until the `:`
|
||||
$type = strtok($type, ':');
|
||||
$realType = class_exists($type) ? ('\\' . $type) : 'mixed';
|
||||
$this->setProperty($name, null, true, true);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user