[Models] Fixed wrong imported name (#993)

* Fixes 992 (class names in phpdoc where using imported names incorrectly when writing to external file).
Disabled using imported name in external file, except for the models own name.

* Added missing declare strict types
This commit is contained in:
Gabriel Langer
2020-07-17 08:07:09 +02:00
committed by GitHub
parent 4ffda148ce
commit e8044dc920
5 changed files with 286 additions and 26 deletions
@@ -0,0 +1,10 @@
<?php declare(strict_types=1);
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders;
use Illuminate\Database\Eloquent\Builder;
class EMaterialQueryBuilder extends Builder
{
}