Fix #1173 Use FQN for write-mixin (#1174)

* Fix #1173 Use FQN for write-mixin

* Fix #1173 Use FQN for write-mixin: Update Test cases
This commit is contained in:
Ajay Dwivedi
2021-08-04 11:26:51 +02:00
committed by GitHub
parent 37f08320ea
commit 2fc239623b
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1225,7 +1225,7 @@ class ModelsCommand extends Command
;
$className = trim($className, '\\');
$writingToExternalFile = !$this->write;
$writingToExternalFile = !$this->write || $this->write_mixin;
$classIsNotInExternalFile = $reflection->getName() !== $className;
$forceFQCN = $this->laravel['config']->get('ide-helper.force_fqn', false);