mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
* 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
15 lines
469 B
PHP
15 lines
469 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Models;
|
|
|
|
use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Post extends Model
|
|
{
|
|
public function newEloquentBuilder($query): EMaterialQueryBuilder
|
|
{
|
|
return new EMaterialQueryBuilder($query);
|
|
}
|
|
}
|