From 085ca3e225d2515c6c40a7ed1ada9e12fd3b30dc Mon Sep 17 00:00:00 2001 From: KentarouTakeda Date: Fri, 18 Oct 2024 01:37:19 +0900 Subject: [PATCH] Compatible with Generics Eloquent Builder in Laravel 11.15 (#1591) * feat: support generics eloquent builder * fix: required laravel version * fix: ci execution is only for Laravel-11 * docs: add CHANGELOG * docs: update supported Laravel versions and adjust output examples --- .github/workflows/run-integration-tests.yml | 7 +- .github/workflows/run-tests.yml | 7 +- CHANGELOG.md | 2 + README.md | 10 +- composer.json | 16 +- src/Console/ModelsCommand.php | 16 +- .../__snapshots__/Test__test__1.php | 36 ++-- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 64 +++---- .../__snapshots__/Test__test__1.php | 22 +-- .../Comment/__snapshots__/Test__test__1.php | 10 +- .../__snapshots__/Test__test__1.php | 8 +- .../__snapshots__/Test__test__1.php | 10 +- ...st__testNoSpaceAfterCustomPhpdocTag__1.php | 8 +- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 6 +- .../__snapshots__/Test__testFactory__1.php | 24 +-- .../__snapshots__/Test__test__1.php | 150 +++++++-------- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 6 +- .../__snapshots__/Test__test__1.php | 176 +++++++++--------- .../__snapshots__/Test__test__1.php | 176 +++++++++--------- .../__snapshots__/Test__test__1.php | 156 ++++++++-------- .../__snapshots__/Test__test__1.php | 156 ++++++++-------- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../__snapshots__/Test__test__1.php | 154 +++++++-------- .../__snapshots__/Test__test__1.php | 8 +- .../Getter/__snapshots__/Test__test__1.php | 8 +- .../Ignored/__snapshots__/Test__test__1.php | 6 +- .../__snapshots__/Test__test__1.php | 6 +- .../__snapshots__/Test__test__1.php | 34 ++-- .../__snapshots__/Test__test__1.php | 6 +- .../Console/ModelsCommand/ModelHooks/Test.php | 8 +- .../Morphs/__snapshots__/Test__test__1.php | 14 +- .../Test__testNoinspectionNotPresent__1.php | 8 +- .../Test__testNoinspectionPresent__1.php | 8 +- .../Pivot/__snapshots__/Test__test__1.php | 12 +- .../__snapshots__/Test__test__1.php | 160 ++++++++-------- .../__snapshots__/Test__test__1.php | 148 +++++++-------- .../Relations/__snapshots__/Test__test__1.php | 40 ++-- .../__snapshots__/Test__testNoReset__1.php | 8 +- .../__snapshots__/Test__testReset__1.php | 8 +- .../__snapshots__/Test__test__1.php | 64 +++---- .../__snapshots__/Test__test__1.php | 14 +- .../__snapshots__/Test__test__1.php | 10 +- .../Variadic/__snapshots__/Test__test__1.php | 12 +- 48 files changed, 1343 insertions(+), 1347 deletions(-) diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index ed33366..89d0ded 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -19,11 +19,8 @@ jobs: strategy: fail-fast: false matrix: - php: [8.3, 8.2, 8.1] - laravel: [11.*, 10.*] - exclude: - - php: 8.1 - laravel: 11.* + php: [8.3, 8.2] + laravel: [^11.15] name: P${{ matrix.php }} - Laravel${{ matrix.laravel }} steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9aa055f..c718827 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,12 +21,9 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04, windows-2019] - php: [8.3, 8.2, 8.1] - laravel: [10.*, 11.*] + php: [8.3, 8.2] + laravel: [^11.15] stability: [prefer-lowest, prefer-stable] - exclude: - - php: 8.1 - laravel: 11.* steps: - name: Set git to use LF if: ${{ matrix.os == 'windows-2019' }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a7a670..039bc40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ All notable changes to this project will be documented in this file. - Fix type of hashed model property to `string` ### Changed +- Add support for EloquentBuilder generics introduced in Laravel 11.15. +- Drop support for Laravel versions earlier than 11.15. ### Added diff --git a/README.md b/README.md index fa4584e..5baba5e 100644 --- a/README.md +++ b/README.md @@ -169,11 +169,11 @@ php artisan ide-helper:models "App\Models\Post" * @property \Illuminate\Support\Carbon $updated_at * @property-read \User $author * @property-read \Illuminate\Database\Eloquent\Collection|\Comment[] $comments - * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post query() - * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post whereTitle($value) - * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post forAuthors(\User ...$authors) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post query() + * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post whereTitle($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post forAuthors(\User ...$authors) * … */ ``` diff --git a/composer.json b/composer.json index bfe752c..d5ff730 100644 --- a/composer.json +++ b/composer.json @@ -20,24 +20,24 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", "barryvdh/reflection-docblock": "^2.1.2", "composer/class-map-generator": "^1.0", - "illuminate/console": "^10 || ^11", - "illuminate/database": "^10.38 || ^11", - "illuminate/filesystem": "^10 || ^11", - "illuminate/support": "^10 || ^11", + "illuminate/console": "^11.15", + "illuminate/database": "^11.15", + "illuminate/filesystem": "^11.15", + "illuminate/support": "^11.15", "nikic/php-parser": "^4.18 || ^5", "phpdocumentor/type-resolver": "^1.1.0" }, "require-dev": { "ext-pdo_sqlite": "*", "friendsofphp/php-cs-fixer": "^3", - "illuminate/config": "^9 || ^10 || ^11", - "illuminate/view": "^9 || ^10 || ^11", + "illuminate/config": "^11.15", + "illuminate/view": "^11.15", "mockery/mockery": "^1.4", - "orchestra/testbench": "^8 || ^9", + "orchestra/testbench": "^9.2", "phpunit/phpunit": "^10.5", "spatie/phpunit-snapshot-assertions": "^4 || ^5", "vimeo/psalm": "^5.4" diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index f2a4253..de834bd 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -553,7 +553,7 @@ class ModelsCommand extends Command $this->setMethod( Str::camel('where_' . $name), $this->getClassNameInDestinationFile($model, $builderClass) - . '|' + . '|' . $this->getClassNameInDestinationFile($model, get_class($model)), ['$value'] ); @@ -632,14 +632,14 @@ class ModelsCommand extends Command new ReflectionClass($model), get_class($model) ); - $this->setMethod($name, $builder . '|' . $modelName, $args, $comment); + $this->setMethod($name, $builder . '|' . $modelName, $args, $comment); } } elseif (in_array($method, ['query', 'newQuery', 'newModelQuery'])) { $builder = $this->getClassNameInDestinationFile($model, get_class($model->newModelQuery())); $this->setMethod( $method, - $builder . '|' . $this->getClassNameInDestinationFile($model, get_class($model)) + $builder . '|' . $this->getClassNameInDestinationFile($model, get_class($model)) ); if ($this->write_model_external_builder_methods) { @@ -905,7 +905,7 @@ class ModelsCommand extends Command { $modelName = $this->getClassNameInDestinationFile($model, get_class($model)); $builder = $this->getClassNameInDestinationFile($model, $classType); - return $builder . '|' . $modelName; + return $builder . '|' . $modelName; } /** @@ -1320,9 +1320,9 @@ class ModelsCommand extends Command if (in_array('Illuminate\\Database\\Eloquent\\SoftDeletes', $traits)) { $modelName = $this->getClassNameInDestinationFile($model, get_class($model)); $builder = $this->getClassNameInDestinationFile($model, \Illuminate\Database\Eloquent\Builder::class); - $this->setMethod('withTrashed', $builder . '|' . $modelName, []); - $this->setMethod('withoutTrashed', $builder . '|' . $modelName, []); - $this->setMethod('onlyTrashed', $builder . '|' . $modelName, []); + $this->setMethod('withTrashed', $builder . '|' . $modelName, []); + $this->setMethod('withoutTrashed', $builder . '|' . $modelName, []); + $this->setMethod('onlyTrashed', $builder . '|' . $modelName, []); } } @@ -1526,7 +1526,7 @@ class ModelsCommand extends Command $this->setMethod( $builderMethod, - $builderClassBasedOnFQCNOption . '|' . $this->getClassNameInDestinationFile($model, get_class($model)), + $builderClassBasedOnFQCNOption . '|' . $this->getClassNameInDestinationFile($model, get_class($model)), $args ); } diff --git a/tests/Console/ModelsCommand/AdvancedCasts/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/AdvancedCasts/__snapshots__/Test__test__1.php index 9c9972a..db6d4a5 100644 --- a/tests/Console/ModelsCommand/AdvancedCasts/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/AdvancedCasts/__snapshots__/Test__test__1.php @@ -27,24 +27,24 @@ use Illuminate\Database\Eloquent\Model; * @property \Illuminate\Support\Collection $cast_to_as_collection * @property \Illuminate\Support\Collection $cast_to_as_enum_collection * @property \ArrayObject $cast_to_as_array_object - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast query() - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsArrayObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsEnumCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToDateSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToDatetimeSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncrypted($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedArray($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedJson($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableDate($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToTimestamp($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast query() + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsArrayObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToAsEnumCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToDateSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToDatetimeSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncrypted($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedArray($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedJson($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToEncryptedObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToImmutableDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|AdvancedCast whereCastToTimestamp($value) * @mixin \Eloquent */ class AdvancedCast extends Model diff --git a/tests/Console/ModelsCommand/AllowGlobDirectory/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/AllowGlobDirectory/__snapshots__/Test__test__1.php index 725a26b..2f5be85 100644 --- a/tests/Console/ModelsCommand/AllowGlobDirectory/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/AllowGlobDirectory/__snapshots__/Test__test__1.php @@ -80,80 +80,80 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php index 1db832e..cb5c665 100644 --- a/tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php @@ -38,38 +38,38 @@ use Illuminate\Database\Eloquent\Model; * @property string $cast_to_timestamp * @property string $cast_to_encrypted * @property string $cast_to_encrypted_object - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment query() - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToArray($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToBool($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToBoolean($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDate($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDateSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDatetimeSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDecimal($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDouble($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncrypted($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedArray($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedJson($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToFloat($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDate($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDateSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDatetimeSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToInt($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToInteger($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToJson($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToReal($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToString($value) - * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToTimestamp($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment query() + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToArray($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToBool($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToBoolean($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDateSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDatetimeSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDecimal($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToDouble($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncrypted($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedArray($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedJson($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToEncryptedObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToFloat($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDateSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToImmutableDatetimeSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToInt($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToInteger($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToJson($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToReal($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToString($value) + * @method static \Illuminate\Database\Eloquent\Builder|ArrayCastsWithComment whereCastToTimestamp($value) * @mixin \Eloquent */ class ArrayCastsWithComment extends Model diff --git a/tests/Console/ModelsCommand/Attributes/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Attributes/__snapshots__/Test__test__1.php index 1afebed..ccb67e3 100644 --- a/tests/Console/ModelsCommand/Attributes/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Attributes/__snapshots__/Test__test__1.php @@ -16,13 +16,13 @@ use Illuminate\Database\Eloquent\Model; * @property string|null $name_write * @property-read string|null $non_backed_get * @property-write string|null $non_backed_set - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute query() - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereName($value) - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereNameRead($value) - * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereNameWrite($value) + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute query() + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereName($value) + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereNameRead($value) + * @method static \Illuminate\Database\Eloquent\Builder|BackedAttribute whereNameWrite($value) * @mixin \Eloquent */ class BackedAttribute extends Model @@ -97,10 +97,10 @@ use Illuminate\Database\Eloquent\Model; * @property-read string|null $type_hinted_get * @property string|null $type_hinted_get_and_set * @property-write string|null $type_hinted_set - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/Comment/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Comment/__snapshots__/Test__test__1.php index fa5ab5d..71806e7 100644 --- a/tests/Console/ModelsCommand/Comment/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Comment/__snapshots__/Test__test__1.php @@ -26,11 +26,11 @@ use Illuminate\Database\Eloquent\Relations\MorphTo; * @property-read Simple|null $relationHasOne Others relations. * @property-read Model|\Eloquent $relationMorphTo MorphTo relations. * @property-write mixed $first_name Set the user's first name. - * @method static \Illuminate\Database\Eloquent\Builder|Simple active() Scope a query to only include active users. - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple active() Scope a query to only include active users. + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/CustomCollection/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/CustomCollection/__snapshots__/Test__test__1.php index 057aa78..b2a1211 100644 --- a/tests/Console/ModelsCommand/CustomCollection/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/CustomCollection/__snapshots__/Test__test__1.php @@ -16,10 +16,10 @@ use Illuminate\Database\Eloquent\Relations\HasMany; * @property-read int|null $relation_has_many_count * @method static SimpleCollection all($columns = ['*']) * @method static SimpleCollection get($columns = ['*']) - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/CustomDate/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/CustomDate/__snapshots__/Test__test__1.php index 6d7fc4a..4fb13b5 100644 --- a/tests/Console/ModelsCommand/CustomDate/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/CustomDate/__snapshots__/Test__test__1.php @@ -11,11 +11,11 @@ use Illuminate\Database\Eloquent\Model; * * @property \Carbon\CarbonImmutable|null $created_at * @property \Carbon\CarbonImmutable|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|CustomDate newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomDate newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomDate query() - * @method static \Illuminate\Database\Eloquent\Builder|CustomDate whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomDate whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomDate newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomDate newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomDate query() + * @method static \Illuminate\Database\Eloquent\Builder|CustomDate whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomDate whereUpdatedAt($value) * @mixin \Eloquent */ class CustomDate extends Model diff --git a/tests/Console/ModelsCommand/CustomPhpdocTags/__snapshots__/Test__testNoSpaceAfterCustomPhpdocTag__1.php b/tests/Console/ModelsCommand/CustomPhpdocTags/__snapshots__/Test__testNoSpaceAfterCustomPhpdocTag__1.php index 801f533..94881c8 100644 --- a/tests/Console/ModelsCommand/CustomPhpdocTags/__snapshots__/Test__testNoSpaceAfterCustomPhpdocTag__1.php +++ b/tests/Console/ModelsCommand/CustomPhpdocTags/__snapshots__/Test__testNoSpaceAfterCustomPhpdocTag__1.php @@ -13,10 +13,10 @@ use Illuminate\Database\Eloquent\Model; * @link https://github.com/barryvdh/laravel-ide-helper/issues/666 * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/DoesNotGeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/DoesNotGeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php index 787a272..20d5f8e 100644 --- a/tests/Console/ModelsCommand/DoesNotGeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/DoesNotGeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php @@ -86,80 +86,80 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGenerateP * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newModelQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newModelQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\DoesNotGeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) */ class Post extends \Eloquent {} } diff --git a/tests/Console/ModelsCommand/DynamicRelations/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/DynamicRelations/__snapshots__/Test__test__1.php index 2044204..5e8bc21 100644 --- a/tests/Console/ModelsCommand/DynamicRelations/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/DynamicRelations/__snapshots__/Test__test__1.php @@ -14,9 +14,9 @@ use Illuminate\Database\Eloquent\Relations\HasOne; * * @property-read \Illuminate\Database\Eloquent\Collection $regularHasMany * @property-read int|null $regular_has_many_count - * @method static \Illuminate\Database\Eloquent\Builder|Dynamic newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Dynamic newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Dynamic query() + * @method static \Illuminate\Database\Eloquent\Builder|Dynamic newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Dynamic newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Dynamic query() * @mixin \Eloquent */ class Dynamic extends Model diff --git a/tests/Console/ModelsCommand/Factories/__snapshots__/Test__testFactory__1.php b/tests/Console/ModelsCommand/Factories/__snapshots__/Test__testFactory__1.php index 211aaba..1bb554f 100644 --- a/tests/Console/ModelsCommand/Factories/__snapshots__/Test__testFactory__1.php +++ b/tests/Console/ModelsCommand/Factories/__snapshots__/Test__testFactory__1.php @@ -12,9 +12,9 @@ use Illuminate\Database\Eloquent\Model; * * * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Factories\CustomSpace\ModelWithCustomNamespaceFactory factory($count = null, $state = []) - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace query() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithCustomNamespace query() * @mixin \Eloquent */ class ModelWithCustomNamespace extends Model @@ -44,9 +44,9 @@ use Illuminate\Database\Eloquent\Model; * * * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Factories\Factories\ModelWithFactoryFactory factory($count = null, $state = []) - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory query() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithFactory query() * @mixin \Eloquent */ class ModelWithFactory extends Model @@ -63,9 +63,9 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Factories\Models * * * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Factories\Factories\ModelWithNestedFactoryFactory factory($count = null, $state = []) - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory query() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithNestedFactory query() * @mixin \Eloquent */ class ModelWithNestedFactory extends ModelWithFactory @@ -83,9 +83,9 @@ use Illuminate\Database\Eloquent\Model; /** * * - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory query() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithoutFactory query() * @mixin \Eloquent */ class ModelWithoutFactory extends Model diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpDocWithEnumDefaults/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateBasicPhpDocWithEnumDefaults/__snapshots__/Test__test__1.php index 8a22180..6a27b3d 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpDocWithEnumDefaults/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpDocWithEnumDefaults/__snapshots__/Test__test__1.php @@ -82,81 +82,81 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static Builder|Post hasStatus(?\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpDocWithEnumDefaults\Enums\PostStatus $status = \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpDocWithEnumDefaults\Enums\PostStatus::Published) - * @method static Builder|Post newModelQuery() - * @method static Builder|Post newQuery() - * @method static Builder|Post query() - * @method static Builder|Post whereBigIntegerNotNullable($value) - * @method static Builder|Post whereBigIntegerNullable($value) - * @method static Builder|Post whereBinaryNotNullable($value) - * @method static Builder|Post whereBinaryNullable($value) - * @method static Builder|Post whereBooleanNotNullable($value) - * @method static Builder|Post whereBooleanNullable($value) - * @method static Builder|Post whereCharNotNullable($value) - * @method static Builder|Post whereCharNullable($value) - * @method static Builder|Post whereCreatedAt($value) - * @method static Builder|Post whereDateNotNullable($value) - * @method static Builder|Post whereDateNullable($value) - * @method static Builder|Post whereDatetimeNotNullable($value) - * @method static Builder|Post whereDatetimeNullable($value) - * @method static Builder|Post whereDatetimetzNotNullable($value) - * @method static Builder|Post whereDatetimetzNullable($value) - * @method static Builder|Post whereDecimalNotNullable($value) - * @method static Builder|Post whereDecimalNullable($value) - * @method static Builder|Post whereDoubleNotNullable($value) - * @method static Builder|Post whereDoubleNullable($value) - * @method static Builder|Post whereEnumNotNullable($value) - * @method static Builder|Post whereEnumNullable($value) - * @method static Builder|Post whereFloatNotNullable($value) - * @method static Builder|Post whereFloatNullable($value) - * @method static Builder|Post whereId($value) - * @method static Builder|Post whereIntegerNotNullable($value) - * @method static Builder|Post whereIntegerNullable($value) - * @method static Builder|Post whereIpaddressNotNullable($value) - * @method static Builder|Post whereIpaddressNullable($value) - * @method static Builder|Post whereJsonNotNullable($value) - * @method static Builder|Post whereJsonNullable($value) - * @method static Builder|Post whereJsonbNotNullable($value) - * @method static Builder|Post whereJsonbNullable($value) - * @method static Builder|Post whereLongTextNotNullable($value) - * @method static Builder|Post whereLongTextNullable($value) - * @method static Builder|Post whereMacaddressNotNullable($value) - * @method static Builder|Post whereMacaddressNullable($value) - * @method static Builder|Post whereMediumIntegerNotNullable($value) - * @method static Builder|Post whereMediumIntegerNullable($value) - * @method static Builder|Post whereMediumTextNotNullable($value) - * @method static Builder|Post whereMediumTextNullable($value) - * @method static Builder|Post whereSmallIntegerNotNullable($value) - * @method static Builder|Post whereSmallIntegerNullable($value) - * @method static Builder|Post whereStringNotNullable($value) - * @method static Builder|Post whereStringNullable($value) - * @method static Builder|Post whereTextNotNullable($value) - * @method static Builder|Post whereTextNullable($value) - * @method static Builder|Post whereTimeNotNullable($value) - * @method static Builder|Post whereTimeNullable($value) - * @method static Builder|Post whereTimestampNotNullable($value) - * @method static Builder|Post whereTimestampNullable($value) - * @method static Builder|Post whereTimestamptzNotNullable($value) - * @method static Builder|Post whereTimestamptzNullable($value) - * @method static Builder|Post whereTimetzNotNullable($value) - * @method static Builder|Post whereTimetzNullable($value) - * @method static Builder|Post whereTinyIntegerNotNullable($value) - * @method static Builder|Post whereTinyIntegerNullable($value) - * @method static Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static Builder|Post whereUnsignedIntegerNullable($value) - * @method static Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static Builder|Post whereUpdatedAt($value) - * @method static Builder|Post whereUuidNotNullable($value) - * @method static Builder|Post whereUuidNullable($value) - * @method static Builder|Post whereYearNotNullable($value) - * @method static Builder|Post whereYearNullable($value) + * @method static Builder|Post hasStatus(?\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpDocWithEnumDefaults\Enums\PostStatus $status = \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpDocWithEnumDefaults\Enums\PostStatus::Published) + * @method static Builder|Post newModelQuery() + * @method static Builder|Post newQuery() + * @method static Builder|Post query() + * @method static Builder|Post whereBigIntegerNotNullable($value) + * @method static Builder|Post whereBigIntegerNullable($value) + * @method static Builder|Post whereBinaryNotNullable($value) + * @method static Builder|Post whereBinaryNullable($value) + * @method static Builder|Post whereBooleanNotNullable($value) + * @method static Builder|Post whereBooleanNullable($value) + * @method static Builder|Post whereCharNotNullable($value) + * @method static Builder|Post whereCharNullable($value) + * @method static Builder|Post whereCreatedAt($value) + * @method static Builder|Post whereDateNotNullable($value) + * @method static Builder|Post whereDateNullable($value) + * @method static Builder|Post whereDatetimeNotNullable($value) + * @method static Builder|Post whereDatetimeNullable($value) + * @method static Builder|Post whereDatetimetzNotNullable($value) + * @method static Builder|Post whereDatetimetzNullable($value) + * @method static Builder|Post whereDecimalNotNullable($value) + * @method static Builder|Post whereDecimalNullable($value) + * @method static Builder|Post whereDoubleNotNullable($value) + * @method static Builder|Post whereDoubleNullable($value) + * @method static Builder|Post whereEnumNotNullable($value) + * @method static Builder|Post whereEnumNullable($value) + * @method static Builder|Post whereFloatNotNullable($value) + * @method static Builder|Post whereFloatNullable($value) + * @method static Builder|Post whereId($value) + * @method static Builder|Post whereIntegerNotNullable($value) + * @method static Builder|Post whereIntegerNullable($value) + * @method static Builder|Post whereIpaddressNotNullable($value) + * @method static Builder|Post whereIpaddressNullable($value) + * @method static Builder|Post whereJsonNotNullable($value) + * @method static Builder|Post whereJsonNullable($value) + * @method static Builder|Post whereJsonbNotNullable($value) + * @method static Builder|Post whereJsonbNullable($value) + * @method static Builder|Post whereLongTextNotNullable($value) + * @method static Builder|Post whereLongTextNullable($value) + * @method static Builder|Post whereMacaddressNotNullable($value) + * @method static Builder|Post whereMacaddressNullable($value) + * @method static Builder|Post whereMediumIntegerNotNullable($value) + * @method static Builder|Post whereMediumIntegerNullable($value) + * @method static Builder|Post whereMediumTextNotNullable($value) + * @method static Builder|Post whereMediumTextNullable($value) + * @method static Builder|Post whereSmallIntegerNotNullable($value) + * @method static Builder|Post whereSmallIntegerNullable($value) + * @method static Builder|Post whereStringNotNullable($value) + * @method static Builder|Post whereStringNullable($value) + * @method static Builder|Post whereTextNotNullable($value) + * @method static Builder|Post whereTextNullable($value) + * @method static Builder|Post whereTimeNotNullable($value) + * @method static Builder|Post whereTimeNullable($value) + * @method static Builder|Post whereTimestampNotNullable($value) + * @method static Builder|Post whereTimestampNullable($value) + * @method static Builder|Post whereTimestamptzNotNullable($value) + * @method static Builder|Post whereTimestamptzNullable($value) + * @method static Builder|Post whereTimetzNotNullable($value) + * @method static Builder|Post whereTimetzNullable($value) + * @method static Builder|Post whereTinyIntegerNotNullable($value) + * @method static Builder|Post whereTinyIntegerNullable($value) + * @method static Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static Builder|Post whereUnsignedIntegerNullable($value) + * @method static Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static Builder|Post whereUpdatedAt($value) + * @method static Builder|Post whereUuidNotNullable($value) + * @method static Builder|Post whereUuidNullable($value) + * @method static Builder|Post whereYearNotNullable($value) + * @method static Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpdoc/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateBasicPhpdoc/__snapshots__/Test__test__1.php index a5ead86..798eca8 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpdoc/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpdoc/__snapshots__/Test__test__1.php @@ -80,80 +80,80 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpdocCamel/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateBasicPhpdocCamel/__snapshots__/Test__test__1.php index 6f9bceb..83a8862 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpdocCamel/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpdocCamel/__snapshots__/Test__test__1.php @@ -80,80 +80,80 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddressNotNullable * @property \Illuminate\Support\Carbon|null $createdAt * @property \Illuminate\Support\Carbon|null $updatedAt - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpdocFinal/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateBasicPhpdocFinal/__snapshots__/Test__test__1.php index 08f63ec..fff06f2 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpdocFinal/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpdocFinal/__snapshots__/Test__test__1.php @@ -80,80 +80,80 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ final class Post extends Model diff --git a/tests/Console/ModelsCommand/GenerateMixinCollection/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateMixinCollection/__snapshots__/Test__test__1.php index d7d64f4..9e25cab 100644 --- a/tests/Console/ModelsCommand/GenerateMixinCollection/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateMixinCollection/__snapshots__/Test__test__1.php @@ -74,9 +74,9 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateMixinCol * @property-read \Illuminate\Support\Collection $collection_with_non_model_template * @property-read \Illuminate\Support\Collection $collection_without_doc_block * @property-read \Illuminate\Support\Collection $collection_without_template - * @method static \Illuminate\Database\Eloquent\Builder|WithCollection newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|WithCollection newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|WithCollection query() + * @method static \Illuminate\Database\Eloquent\Builder|WithCollection newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WithCollection newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WithCollection query() * @mixin \Eloquent */ #[\AllowDynamicProperties] diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php index d24d756..3db1b7b 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilder/__snapshots__/Test__test__1.php @@ -86,94 +86,94 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWi * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isActive() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isLoadingWith(?string $with) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isStatus(string $status) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newModelQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post query() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBigIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBigIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBinaryNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBinaryNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBooleanNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBooleanNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCharNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCharNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCreatedAt($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDateNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDateNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimeNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimeNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimetzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimetzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDecimalNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDecimalNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDoubleNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDoubleNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereEnumNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereEnumNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereFloatNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereFloatNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereId($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIpaddressNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIpaddressNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonbNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonbNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereLongTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereLongTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMacaddressNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMacaddressNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereSmallIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereSmallIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereStringNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereStringNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimeNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimeNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestampNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestampNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestamptzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestamptzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimetzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimetzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTinyIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTinyIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUpdatedAt($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUuidNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUuidNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereYearNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereYearNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBool(?bool $booleanVar) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBoolDifferently(?bool $booleanVar) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBoolTypeHinted(bool $booleanVar) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withMixedOption($option) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullAndAssignmentTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand = null) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullTestCommandInDocBlock($testCommand) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withSomeone($someone) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTestCommand(\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTheNumber(?int $number) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTheNumberDifferently(?int $number) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isActive() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isLoadingWith(?string $with) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post isStatus(string $status) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newModelQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post newQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post query() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBigIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBigIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBinaryNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBinaryNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBooleanNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereBooleanNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCharNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCharNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereCreatedAt($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDateNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDateNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimeNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimeNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimetzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDatetimetzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDecimalNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDecimalNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDoubleNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereDoubleNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereEnumNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereEnumNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereFloatNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereFloatNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereId($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIpaddressNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereIpaddressNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonbNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereJsonbNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereLongTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereLongTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMacaddressNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMacaddressNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereMediumTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereSmallIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereSmallIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereStringNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereStringNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimeNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimeNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestampNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestampNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestamptzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimestamptzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimetzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTimetzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTinyIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereTinyIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUpdatedAt($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUuidNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereUuidNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereYearNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post whereYearNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBool(?bool $booleanVar) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBoolDifferently(?bool $booleanVar) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withBoolTypeHinted(bool $booleanVar) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withMixedOption($option) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullAndAssignmentTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand = null) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withNullTestCommandInDocBlock($testCommand) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withSomeone($someone) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTestCommand(\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTheNumber(?int $number) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithExternalEloquentBuilder\Builders\PostExternalQueryBuilder|Post withTheNumberDifferently(?int $number) */ class Post extends \Eloquent {} } diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilderWithFqn/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilderWithFqn/__snapshots__/Test__test__1.php index fe55b17..26ef561 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilderWithFqn/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithExternalEloquentBuilderWithFqn/__snapshots__/Test__test__1.php @@ -81,94 +81,94 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static PostExternalQueryBuilder|Post isActive() - * @method static PostExternalQueryBuilder|Post isLoadingWith(?string $with) - * @method static PostExternalQueryBuilder|Post isStatus(string $status) - * @method static PostExternalQueryBuilder|Post newModelQuery() - * @method static PostExternalQueryBuilder|Post newQuery() - * @method static PostExternalQueryBuilder|Post query() - * @method static PostExternalQueryBuilder|Post whereBigIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereBigIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereBinaryNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereBinaryNullable($value) - * @method static PostExternalQueryBuilder|Post whereBooleanNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereBooleanNullable($value) - * @method static PostExternalQueryBuilder|Post whereCharNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereCharNullable($value) - * @method static PostExternalQueryBuilder|Post whereCreatedAt($value) - * @method static PostExternalQueryBuilder|Post whereDateNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereDateNullable($value) - * @method static PostExternalQueryBuilder|Post whereDatetimeNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereDatetimeNullable($value) - * @method static PostExternalQueryBuilder|Post whereDatetimetzNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereDatetimetzNullable($value) - * @method static PostExternalQueryBuilder|Post whereDecimalNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereDecimalNullable($value) - * @method static PostExternalQueryBuilder|Post whereDoubleNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereDoubleNullable($value) - * @method static PostExternalQueryBuilder|Post whereEnumNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereEnumNullable($value) - * @method static PostExternalQueryBuilder|Post whereFloatNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereFloatNullable($value) - * @method static PostExternalQueryBuilder|Post whereId($value) - * @method static PostExternalQueryBuilder|Post whereIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereIpaddressNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereIpaddressNullable($value) - * @method static PostExternalQueryBuilder|Post whereJsonNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereJsonNullable($value) - * @method static PostExternalQueryBuilder|Post whereJsonbNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereJsonbNullable($value) - * @method static PostExternalQueryBuilder|Post whereLongTextNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereLongTextNullable($value) - * @method static PostExternalQueryBuilder|Post whereMacaddressNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereMacaddressNullable($value) - * @method static PostExternalQueryBuilder|Post whereMediumIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereMediumIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereMediumTextNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereMediumTextNullable($value) - * @method static PostExternalQueryBuilder|Post whereSmallIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereSmallIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereStringNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereStringNullable($value) - * @method static PostExternalQueryBuilder|Post whereTextNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTextNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimeNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimeNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimestampNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimestampNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimestamptzNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimestamptzNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimetzNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTimetzNullable($value) - * @method static PostExternalQueryBuilder|Post whereTinyIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereTinyIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedBigIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) - * @method static PostExternalQueryBuilder|Post whereUpdatedAt($value) - * @method static PostExternalQueryBuilder|Post whereUuidNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereUuidNullable($value) - * @method static PostExternalQueryBuilder|Post whereYearNotNullable($value) - * @method static PostExternalQueryBuilder|Post whereYearNullable($value) - * @method static PostExternalQueryBuilder|Post withBool(?bool $booleanVar) - * @method static PostExternalQueryBuilder|Post withBoolDifferently(?bool $booleanVar) - * @method static PostExternalQueryBuilder|Post withBoolTypeHinted(bool $booleanVar) - * @method static PostExternalQueryBuilder|Post withMixedOption($option) - * @method static PostExternalQueryBuilder|Post withNullAndAssignmentTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand = null) - * @method static PostExternalQueryBuilder|Post withNullTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) - * @method static PostExternalQueryBuilder|Post withNullTestCommandInDocBlock($testCommand) - * @method static PostExternalQueryBuilder|Post withSomeone($someone) - * @method static PostExternalQueryBuilder|Post withTestCommand(\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) - * @method static PostExternalQueryBuilder|Post withTheNumber(?int $number) - * @method static PostExternalQueryBuilder|Post withTheNumberDifferently(?int $number) + * @method static PostExternalQueryBuilder|Post isActive() + * @method static PostExternalQueryBuilder|Post isLoadingWith(?string $with) + * @method static PostExternalQueryBuilder|Post isStatus(string $status) + * @method static PostExternalQueryBuilder|Post newModelQuery() + * @method static PostExternalQueryBuilder|Post newQuery() + * @method static PostExternalQueryBuilder|Post query() + * @method static PostExternalQueryBuilder|Post whereBigIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereBigIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereBinaryNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereBinaryNullable($value) + * @method static PostExternalQueryBuilder|Post whereBooleanNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereBooleanNullable($value) + * @method static PostExternalQueryBuilder|Post whereCharNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereCharNullable($value) + * @method static PostExternalQueryBuilder|Post whereCreatedAt($value) + * @method static PostExternalQueryBuilder|Post whereDateNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereDateNullable($value) + * @method static PostExternalQueryBuilder|Post whereDatetimeNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereDatetimeNullable($value) + * @method static PostExternalQueryBuilder|Post whereDatetimetzNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereDatetimetzNullable($value) + * @method static PostExternalQueryBuilder|Post whereDecimalNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereDecimalNullable($value) + * @method static PostExternalQueryBuilder|Post whereDoubleNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereDoubleNullable($value) + * @method static PostExternalQueryBuilder|Post whereEnumNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereEnumNullable($value) + * @method static PostExternalQueryBuilder|Post whereFloatNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereFloatNullable($value) + * @method static PostExternalQueryBuilder|Post whereId($value) + * @method static PostExternalQueryBuilder|Post whereIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereIpaddressNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereIpaddressNullable($value) + * @method static PostExternalQueryBuilder|Post whereJsonNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereJsonNullable($value) + * @method static PostExternalQueryBuilder|Post whereJsonbNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereJsonbNullable($value) + * @method static PostExternalQueryBuilder|Post whereLongTextNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereLongTextNullable($value) + * @method static PostExternalQueryBuilder|Post whereMacaddressNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereMacaddressNullable($value) + * @method static PostExternalQueryBuilder|Post whereMediumIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereMediumIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereMediumTextNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereMediumTextNullable($value) + * @method static PostExternalQueryBuilder|Post whereSmallIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereSmallIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereStringNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereStringNullable($value) + * @method static PostExternalQueryBuilder|Post whereTextNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTextNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimeNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimeNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimestampNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimestampNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimestamptzNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimestamptzNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimetzNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTimetzNullable($value) + * @method static PostExternalQueryBuilder|Post whereTinyIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereTinyIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedBigIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) + * @method static PostExternalQueryBuilder|Post whereUpdatedAt($value) + * @method static PostExternalQueryBuilder|Post whereUuidNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereUuidNullable($value) + * @method static PostExternalQueryBuilder|Post whereYearNotNullable($value) + * @method static PostExternalQueryBuilder|Post whereYearNullable($value) + * @method static PostExternalQueryBuilder|Post withBool(?bool $booleanVar) + * @method static PostExternalQueryBuilder|Post withBoolDifferently(?bool $booleanVar) + * @method static PostExternalQueryBuilder|Post withBoolTypeHinted(bool $booleanVar) + * @method static PostExternalQueryBuilder|Post withMixedOption($option) + * @method static PostExternalQueryBuilder|Post withNullAndAssignmentTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand = null) + * @method static PostExternalQueryBuilder|Post withNullTestCommand(?\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) + * @method static PostExternalQueryBuilder|Post withNullTestCommandInDocBlock($testCommand) + * @method static PostExternalQueryBuilder|Post withSomeone($someone) + * @method static PostExternalQueryBuilder|Post withTestCommand(\Barryvdh\LaravelIdeHelper\Console\ModelsCommand $testCommand) + * @method static PostExternalQueryBuilder|Post withTheNumber(?int $number) + * @method static PostExternalQueryBuilder|Post withTheNumberDifferently(?int $number) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithForcedFqn/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithForcedFqn/__snapshots__/Test__test__1.php index 5b29b8a..09e1402 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithForcedFqn/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithForcedFqn/__snapshots__/Test__test__1.php @@ -84,84 +84,84 @@ use Illuminate\Database\Eloquent\SoftDeletes; * @property \Illuminate\Support\Carbon|null $updated_at * @property-read \Illuminate\Database\Eloquent\Collection $posts * @property-read int|null $posts_count - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post null(string $unusedParam) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post onlyTrashed() - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post query() - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereYearNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post withTrashed() - * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post withoutTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post null(string $unusedParam) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post onlyTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post query() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post withTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|\Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithForcedFqn\Models\Post withoutTrashed() * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithFqn/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithFqn/__snapshots__/Test__test__1.php index b87f750..ea78b8f 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithFqn/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithFqn/__snapshots__/Test__test__1.php @@ -90,84 +90,84 @@ use Illuminate\Support\Carbon; * @property Carbon|null $updated_at * @property-read Collection $posts * @property-read int|null $posts_count - * @method static EloquentBuilder|Post newModelQuery() - * @method static EloquentBuilder|Post newQuery() - * @method static EloquentBuilder|Post null(string $unusedParam) - * @method static EloquentBuilder|Post onlyTrashed() - * @method static EloquentBuilder|Post query() - * @method static EloquentBuilder|Post whereBigIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereBigIntegerNullable($value) - * @method static EloquentBuilder|Post whereBinaryNotNullable($value) - * @method static EloquentBuilder|Post whereBinaryNullable($value) - * @method static EloquentBuilder|Post whereBooleanNotNullable($value) - * @method static EloquentBuilder|Post whereBooleanNullable($value) - * @method static EloquentBuilder|Post whereCharNotNullable($value) - * @method static EloquentBuilder|Post whereCharNullable($value) - * @method static EloquentBuilder|Post whereCreatedAt($value) - * @method static EloquentBuilder|Post whereDateNotNullable($value) - * @method static EloquentBuilder|Post whereDateNullable($value) - * @method static EloquentBuilder|Post whereDatetimeNotNullable($value) - * @method static EloquentBuilder|Post whereDatetimeNullable($value) - * @method static EloquentBuilder|Post whereDatetimetzNotNullable($value) - * @method static EloquentBuilder|Post whereDatetimetzNullable($value) - * @method static EloquentBuilder|Post whereDecimalNotNullable($value) - * @method static EloquentBuilder|Post whereDecimalNullable($value) - * @method static EloquentBuilder|Post whereDoubleNotNullable($value) - * @method static EloquentBuilder|Post whereDoubleNullable($value) - * @method static EloquentBuilder|Post whereEnumNotNullable($value) - * @method static EloquentBuilder|Post whereEnumNullable($value) - * @method static EloquentBuilder|Post whereFloatNotNullable($value) - * @method static EloquentBuilder|Post whereFloatNullable($value) - * @method static EloquentBuilder|Post whereId($value) - * @method static EloquentBuilder|Post whereIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereIntegerNullable($value) - * @method static EloquentBuilder|Post whereIpaddressNotNullable($value) - * @method static EloquentBuilder|Post whereIpaddressNullable($value) - * @method static EloquentBuilder|Post whereJsonNotNullable($value) - * @method static EloquentBuilder|Post whereJsonNullable($value) - * @method static EloquentBuilder|Post whereJsonbNotNullable($value) - * @method static EloquentBuilder|Post whereJsonbNullable($value) - * @method static EloquentBuilder|Post whereLongTextNotNullable($value) - * @method static EloquentBuilder|Post whereLongTextNullable($value) - * @method static EloquentBuilder|Post whereMacaddressNotNullable($value) - * @method static EloquentBuilder|Post whereMacaddressNullable($value) - * @method static EloquentBuilder|Post whereMediumIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereMediumIntegerNullable($value) - * @method static EloquentBuilder|Post whereMediumTextNotNullable($value) - * @method static EloquentBuilder|Post whereMediumTextNullable($value) - * @method static EloquentBuilder|Post whereSmallIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereSmallIntegerNullable($value) - * @method static EloquentBuilder|Post whereStringNotNullable($value) - * @method static EloquentBuilder|Post whereStringNullable($value) - * @method static EloquentBuilder|Post whereTextNotNullable($value) - * @method static EloquentBuilder|Post whereTextNullable($value) - * @method static EloquentBuilder|Post whereTimeNotNullable($value) - * @method static EloquentBuilder|Post whereTimeNullable($value) - * @method static EloquentBuilder|Post whereTimestampNotNullable($value) - * @method static EloquentBuilder|Post whereTimestampNullable($value) - * @method static EloquentBuilder|Post whereTimestamptzNotNullable($value) - * @method static EloquentBuilder|Post whereTimestamptzNullable($value) - * @method static EloquentBuilder|Post whereTimetzNotNullable($value) - * @method static EloquentBuilder|Post whereTimetzNullable($value) - * @method static EloquentBuilder|Post whereTinyIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereTinyIntegerNullable($value) - * @method static EloquentBuilder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereUnsignedBigIntegerNullable($value) - * @method static EloquentBuilder|Post whereUnsignedIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereUnsignedIntegerNullable($value) - * @method static EloquentBuilder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereUnsignedMediumIntegerNullable($value) - * @method static EloquentBuilder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereUnsignedSmallIntegerNullable($value) - * @method static EloquentBuilder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static EloquentBuilder|Post whereUnsignedTinyIntegerNullable($value) - * @method static EloquentBuilder|Post whereUpdatedAt($value) - * @method static EloquentBuilder|Post whereUuidNotNullable($value) - * @method static EloquentBuilder|Post whereUuidNullable($value) - * @method static EloquentBuilder|Post whereYearNotNullable($value) - * @method static EloquentBuilder|Post whereYearNullable($value) - * @method static EloquentBuilder|Post withTrashed() - * @method static EloquentBuilder|Post withoutTrashed() + * @method static EloquentBuilder|Post newModelQuery() + * @method static EloquentBuilder|Post newQuery() + * @method static EloquentBuilder|Post null(string $unusedParam) + * @method static EloquentBuilder|Post onlyTrashed() + * @method static EloquentBuilder|Post query() + * @method static EloquentBuilder|Post whereBigIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereBigIntegerNullable($value) + * @method static EloquentBuilder|Post whereBinaryNotNullable($value) + * @method static EloquentBuilder|Post whereBinaryNullable($value) + * @method static EloquentBuilder|Post whereBooleanNotNullable($value) + * @method static EloquentBuilder|Post whereBooleanNullable($value) + * @method static EloquentBuilder|Post whereCharNotNullable($value) + * @method static EloquentBuilder|Post whereCharNullable($value) + * @method static EloquentBuilder|Post whereCreatedAt($value) + * @method static EloquentBuilder|Post whereDateNotNullable($value) + * @method static EloquentBuilder|Post whereDateNullable($value) + * @method static EloquentBuilder|Post whereDatetimeNotNullable($value) + * @method static EloquentBuilder|Post whereDatetimeNullable($value) + * @method static EloquentBuilder|Post whereDatetimetzNotNullable($value) + * @method static EloquentBuilder|Post whereDatetimetzNullable($value) + * @method static EloquentBuilder|Post whereDecimalNotNullable($value) + * @method static EloquentBuilder|Post whereDecimalNullable($value) + * @method static EloquentBuilder|Post whereDoubleNotNullable($value) + * @method static EloquentBuilder|Post whereDoubleNullable($value) + * @method static EloquentBuilder|Post whereEnumNotNullable($value) + * @method static EloquentBuilder|Post whereEnumNullable($value) + * @method static EloquentBuilder|Post whereFloatNotNullable($value) + * @method static EloquentBuilder|Post whereFloatNullable($value) + * @method static EloquentBuilder|Post whereId($value) + * @method static EloquentBuilder|Post whereIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereIntegerNullable($value) + * @method static EloquentBuilder|Post whereIpaddressNotNullable($value) + * @method static EloquentBuilder|Post whereIpaddressNullable($value) + * @method static EloquentBuilder|Post whereJsonNotNullable($value) + * @method static EloquentBuilder|Post whereJsonNullable($value) + * @method static EloquentBuilder|Post whereJsonbNotNullable($value) + * @method static EloquentBuilder|Post whereJsonbNullable($value) + * @method static EloquentBuilder|Post whereLongTextNotNullable($value) + * @method static EloquentBuilder|Post whereLongTextNullable($value) + * @method static EloquentBuilder|Post whereMacaddressNotNullable($value) + * @method static EloquentBuilder|Post whereMacaddressNullable($value) + * @method static EloquentBuilder|Post whereMediumIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereMediumIntegerNullable($value) + * @method static EloquentBuilder|Post whereMediumTextNotNullable($value) + * @method static EloquentBuilder|Post whereMediumTextNullable($value) + * @method static EloquentBuilder|Post whereSmallIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereSmallIntegerNullable($value) + * @method static EloquentBuilder|Post whereStringNotNullable($value) + * @method static EloquentBuilder|Post whereStringNullable($value) + * @method static EloquentBuilder|Post whereTextNotNullable($value) + * @method static EloquentBuilder|Post whereTextNullable($value) + * @method static EloquentBuilder|Post whereTimeNotNullable($value) + * @method static EloquentBuilder|Post whereTimeNullable($value) + * @method static EloquentBuilder|Post whereTimestampNotNullable($value) + * @method static EloquentBuilder|Post whereTimestampNullable($value) + * @method static EloquentBuilder|Post whereTimestamptzNotNullable($value) + * @method static EloquentBuilder|Post whereTimestamptzNullable($value) + * @method static EloquentBuilder|Post whereTimetzNotNullable($value) + * @method static EloquentBuilder|Post whereTimetzNullable($value) + * @method static EloquentBuilder|Post whereTinyIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereTinyIntegerNullable($value) + * @method static EloquentBuilder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereUnsignedBigIntegerNullable($value) + * @method static EloquentBuilder|Post whereUnsignedIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereUnsignedIntegerNullable($value) + * @method static EloquentBuilder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereUnsignedMediumIntegerNullable($value) + * @method static EloquentBuilder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereUnsignedSmallIntegerNullable($value) + * @method static EloquentBuilder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static EloquentBuilder|Post whereUnsignedTinyIntegerNullable($value) + * @method static EloquentBuilder|Post whereUpdatedAt($value) + * @method static EloquentBuilder|Post whereUuidNotNullable($value) + * @method static EloquentBuilder|Post whereUuidNullable($value) + * @method static EloquentBuilder|Post whereYearNotNullable($value) + * @method static EloquentBuilder|Post whereYearNullable($value) + * @method static EloquentBuilder|Post withTrashed() + * @method static EloquentBuilder|Post withoutTrashed() * @mixin Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithFqnInExternalFile/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithFqnInExternalFile/__snapshots__/Test__test__1.php index a23e112..a91dd40 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithFqnInExternalFile/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithFqnInExternalFile/__snapshots__/Test__test__1.php @@ -86,80 +86,80 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWi * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post newModelQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post newQuery() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post query() - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBigIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBigIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBinaryNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBinaryNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBooleanNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBooleanNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCharNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCharNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCreatedAt($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDateNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDateNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimeNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimeNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimetzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimetzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDecimalNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDecimalNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDoubleNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDoubleNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereEnumNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereEnumNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereFloatNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereFloatNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereId($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIpaddressNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIpaddressNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonbNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonbNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereLongTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereLongTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMacaddressNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMacaddressNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereSmallIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereSmallIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereStringNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereStringNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTextNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTextNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimeNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimeNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestampNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestampNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestamptzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestamptzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimetzNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimetzNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTinyIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTinyIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUpdatedAt($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUuidNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUuidNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereYearNotNullable($value) - * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereYearNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post newModelQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post newQuery() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post query() + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBigIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBigIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBinaryNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBinaryNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBooleanNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereBooleanNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCharNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCharNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereCreatedAt($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDateNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDateNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimeNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimeNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimetzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDatetimetzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDecimalNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDecimalNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDoubleNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereDoubleNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereEnumNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereEnumNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereFloatNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereFloatNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereId($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIpaddressNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereIpaddressNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonbNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereJsonbNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereLongTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereLongTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMacaddressNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMacaddressNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereMediumTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereSmallIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereSmallIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereStringNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereStringNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTextNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTextNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimeNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimeNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestampNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestampNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestamptzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimestamptzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimetzNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTimetzNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTinyIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereTinyIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUpdatedAt($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUuidNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereUuidNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereYearNotNullable($value) + * @method static \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWithFqnInExternalFile\Builders\EMaterialQueryBuilder|Post whereYearNullable($value) */ class Post extends \Eloquent {} } diff --git a/tests/Console/ModelsCommand/GeneratePhpdocWithMixin/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GeneratePhpdocWithMixin/__snapshots__/Test__test__1.php index 9f1f4ca..71f7846 100644 --- a/tests/Console/ModelsCommand/GeneratePhpdocWithMixin/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GeneratePhpdocWithMixin/__snapshots__/Test__test__1.php @@ -49,9 +49,9 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWi * * @property $someProp * @method someMethod(string $method) - * @method static \Illuminate\Database\Eloquent\Builder|FinalPost newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|FinalPost newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|FinalPost query() + * @method static \Illuminate\Database\Eloquent\Builder|FinalPost newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FinalPost newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FinalPost query() * @mixin \Eloquent */ #[\AllowDynamicProperties] @@ -135,80 +135,80 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GeneratePhpdocWi * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ #[\AllowDynamicProperties] diff --git a/tests/Console/ModelsCommand/GenericsSyntaxDisabled/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenericsSyntaxDisabled/__snapshots__/Test__test__1.php index aabef57..fd80086 100644 --- a/tests/Console/ModelsCommand/GenericsSyntaxDisabled/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenericsSyntaxDisabled/__snapshots__/Test__test__1.php @@ -16,10 +16,10 @@ use Illuminate\Database\Eloquent\Relations\HasMany; * @property-read int|null $regular_belongs_to_many_count * @property-read \Illuminate\Database\Eloquent\Collection|Simple[] $regularHasMany * @property-read int|null $regular_has_many_count - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/Getter/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Getter/__snapshots__/Test__test__1.php index d9e703f..8c93b10 100644 --- a/tests/Console/ModelsCommand/Getter/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Getter/__snapshots__/Test__test__1.php @@ -31,10 +31,10 @@ use Illuminate\Database\Eloquent\Model; * @property-read int $attribute_with_int_return_type_and_phpdoc * @property-read int $attribute_with_int_return_type * @property-read mixed $attribute_without_type - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/Ignored/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Ignored/__snapshots__/Test__test__1.php index de0fbfb..0ccd946 100644 --- a/tests/Console/ModelsCommand/Ignored/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Ignored/__snapshots__/Test__test__1.php @@ -9,9 +9,9 @@ use Illuminate\Database\Eloquent\Model; /** * * - * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored query() + * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|NotIgnored query() * @mixin \Eloquent */ class NotIgnored extends Model diff --git a/tests/Console/ModelsCommand/Interfaces/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Interfaces/__snapshots__/Test__test__1.php index feba784..d37bfc4 100644 --- a/tests/Console/ModelsCommand/Interfaces/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Interfaces/__snapshots__/Test__test__1.php @@ -15,9 +15,9 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Interfaces\Model /** * * - * @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|User newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|User query() + * @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User query() */ class User extends \Eloquent implements \Illuminate\Contracts\Auth\Authenticatable {} } diff --git a/tests/Console/ModelsCommand/LaravelCustomCasts/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/LaravelCustomCasts/__snapshots__/Test__test__1.php index e9e446d..064bfb2 100644 --- a/tests/Console/ModelsCommand/LaravelCustomCasts/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/LaravelCustomCasts/__snapshots__/Test__test__1.php @@ -46,23 +46,23 @@ use Illuminate\Database\Eloquent\Model; * @property CastableWithoutReturnType $casted_property_without_return_type * @property \Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\LaravelCustomCasts\Casts\CastedProperty $cast_without_property * @property mixed $cast_inbound_attribute - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast query() - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithParam($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnDocblock($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnDocblockFqn($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnNullablePrimitive($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnNullablePrimitiveAndNullableColumn($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnPrimitive($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnPrimitiveDocblock($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnType($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithStaticReturnDocblock($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithStaticReturnDocblockAndParam($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithThisReturnDocblock($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithoutReturn($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereExtendedCastedPropertyWithStaticReturnDocblock($value) - * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereExtendedCastedPropertyWithThisReturnDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast query() + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithParam($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnDocblockFqn($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnNullablePrimitive($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnNullablePrimitiveAndNullableColumn($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnPrimitive($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnPrimitiveDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithReturnType($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithStaticReturnDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithStaticReturnDocblockAndParam($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithThisReturnDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereCastedPropertyWithoutReturn($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereExtendedCastedPropertyWithStaticReturnDocblock($value) + * @method static \Illuminate\Database\Eloquent\Builder|CustomCast whereExtendedCastedPropertyWithThisReturnDocblock($value) * @mixin \Eloquent */ class CustomCast extends Model diff --git a/tests/Console/ModelsCommand/MagicWhere/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/MagicWhere/__snapshots__/Test__test__1.php index caa2c76..6da7dd3 100644 --- a/tests/Console/ModelsCommand/MagicWhere/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/MagicWhere/__snapshots__/Test__test__1.php @@ -80,9 +80,9 @@ use Illuminate\Database\Eloquent\Model; * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/ModelHooks/Test.php b/tests/Console/ModelsCommand/ModelHooks/Test.php index 339c9ef..59289c1 100644 --- a/tests/Console/ModelsCommand/ModelHooks/Test.php +++ b/tests/Console/ModelsCommand/ModelHooks/Test.php @@ -75,10 +75,10 @@ use Illuminate\Database\Eloquent\Model; * * @property int $id * @property-read string $custom - * @method static \Illuminate\Database\Eloquent\Builder|Simple custom($custom) - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple custom($custom) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/Morphs/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Morphs/__snapshots__/Test__test__1.php index d140307..d6b52e1 100644 --- a/tests/Console/ModelsCommand/Morphs/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Morphs/__snapshots__/Test__test__1.php @@ -16,13 +16,13 @@ use Illuminate\Database\Eloquent\Relations\MorphTo; * @property int|null $nullable_relation_morph_to_id * @property-read Model|\Eloquent|null $nullableRelationMorphTo * @property-read Model|\Eloquent $relationMorphTo - * @method static \Illuminate\Database\Eloquent\Builder|Morphs newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Morphs newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Morphs query() - * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereNullableRelationMorphToId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereNullableRelationMorphToType($value) - * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereRelationMorphToId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereRelationMorphToType($value) + * @method static \Illuminate\Database\Eloquent\Builder|Morphs newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Morphs newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Morphs query() + * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereNullableRelationMorphToId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereNullableRelationMorphToType($value) + * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereRelationMorphToId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Morphs whereRelationMorphToType($value) * @mixin \Eloquent */ class Morphs extends Model diff --git a/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionNotPresent__1.php b/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionNotPresent__1.php index 1960bb6..4e716fa 100644 --- a/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionNotPresent__1.php +++ b/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionNotPresent__1.php @@ -10,10 +10,10 @@ use Illuminate\Database\Eloquent\Model; * * * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionPresent__1.php b/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionPresent__1.php index e34fb0b..8c37bd7 100644 --- a/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionPresent__1.php +++ b/tests/Console/ModelsCommand/PHPStormNoInspection/__snapshots__/Test__testNoinspectionPresent__1.php @@ -10,10 +10,10 @@ use Illuminate\Database\Eloquent\Model; * * * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent * @noinspection PhpFullyQualifiedNameUsageInspection * @noinspection PhpUnnecessaryFullyQualifiedNameInspection diff --git a/tests/Console/ModelsCommand/Pivot/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Pivot/__snapshots__/Test__test__1.php index bf6f934..001cd90 100644 --- a/tests/Console/ModelsCommand/Pivot/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Pivot/__snapshots__/Test__test__1.php @@ -13,9 +13,9 @@ use Illuminate\Database\Eloquent\Model; * @property-read CustomPivot $customAccessor * @property-read \Illuminate\Database\Eloquent\Collection $relationWithCustomPivot * @property-read int|null $relation_with_custom_pivot_count - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot query() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ModelWithPivot query() * @mixin \Eloquent */ class ModelWithPivot extends Model @@ -38,9 +38,9 @@ use Illuminate\Database\Eloquent\Relations\Pivot; /** * * - * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot query() + * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CustomPivot query() * @mixin \Eloquent */ class CustomPivot extends Pivot diff --git a/tests/Console/ModelsCommand/QueryScopes/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/QueryScopes/__snapshots__/Test__test__1.php index 515dcf8..989a14d 100644 --- a/tests/Console/ModelsCommand/QueryScopes/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/QueryScopes/__snapshots__/Test__test__1.php @@ -78,82 +78,82 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\QueryScopes\Mode * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post active() - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post public() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post active() + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post public() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends PostParent @@ -174,10 +174,10 @@ use Illuminate\Database\Eloquent\Model; /** * * - * @method static \Illuminate\Database\Eloquent\Builder|PostParent active() - * @method static \Illuminate\Database\Eloquent\Builder|PostParent newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|PostParent newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|PostParent query() + * @method static \Illuminate\Database\Eloquent\Builder|PostParent active() + * @method static \Illuminate\Database\Eloquent\Builder|PostParent newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PostParent newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PostParent query() * @mixin \Eloquent */ class PostParent extends Model diff --git a/tests/Console/ModelsCommand/RelationCountProperties/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/RelationCountProperties/__snapshots__/Test__test__1.php index b5bc105..fb3f7e5 100644 --- a/tests/Console/ModelsCommand/RelationCountProperties/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/RelationCountProperties/__snapshots__/Test__test__1.php @@ -82,80 +82,80 @@ use Illuminate\Database\Eloquent\Relations\HasMany; * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property-read \Illuminate\Database\Eloquent\Collection $relationHasMany - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) * @mixin \Eloquent */ class Post extends Model diff --git a/tests/Console/ModelsCommand/Relations/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Relations/__snapshots__/Test__test__1.php index 01dcdaf..919c1d2 100644 --- a/tests/Console/ModelsCommand/Relations/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Relations/__snapshots__/Test__test__1.php @@ -19,14 +19,14 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; * @property-read BelongsToVariation|null $notNullColumnWithNoForeignKeyConstraint * @property-read BelongsToVariation|null $nullableColumnWithForeignKeyConstraint * @property-read BelongsToVariation|null $nullableColumnWithNoForeignKeyConstraint - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation query() - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNotNullColumnWithForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNotNullColumnWithNoForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNullableColumnWithForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNullableColumnWithNoForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation query() + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNotNullColumnWithForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNotNullColumnWithNoForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNullableColumnWithForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|BelongsToVariation whereNullableColumnWithNoForeignKeyConstraint($value) * @mixin \Eloquent */ class BelongsToVariation extends Model @@ -71,14 +71,14 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; * @property-read CompositeBelongsToVariation $bothNonNullableWithForeignKeyConstraint * @property-read CompositeBelongsToVariation|null $nonNullableMixedWithoutForeignKeyConstraint * @property-read CompositeBelongsToVariation|null $nullableMixedWithForeignKeyConstraint - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation query() - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNotNullColumnWithForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNotNullColumnWithNoForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNullableColumnWithForeignKeyConstraint($value) - * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNullableColumnWithNoForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation query() + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNotNullColumnWithForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNotNullColumnWithNoForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNullableColumnWithForeignKeyConstraint($value) + * @method static \Illuminate\Database\Eloquent\Builder|CompositeBelongsToVariation whereNullableColumnWithNoForeignKeyConstraint($value) * @mixin \Eloquent */ class CompositeBelongsToVariation extends Model @@ -161,10 +161,10 @@ use Illuminate\Database\Eloquent\Relations\MorphToMany; * @property-read int|null $relation_sample_to_any_relation_type_count * @property-read Simple $relationSampleToBadlyNamedNotManyRelation * @property-read Simple $relationSampleToManyRelationType - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testNoReset__1.php b/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testNoReset__1.php index 54df564..21a8199 100644 --- a/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testNoReset__1.php +++ b/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testNoReset__1.php @@ -11,10 +11,10 @@ use Illuminate\Database\Eloquent\Model; * * @property string $foo * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testReset__1.php b/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testReset__1.php index de69023..e00f9e9 100644 --- a/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testReset__1.php +++ b/tests/Console/ModelsCommand/ResetAndSmartReset/__snapshots__/Test__testReset__1.php @@ -10,10 +10,10 @@ use Illuminate\Database\Eloquent\Model; * Text of existing phpdoc * * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/SimpleCasts/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/SimpleCasts/__snapshots__/Test__test__1.php index 2258132..11dc6cd 100644 --- a/tests/Console/ModelsCommand/SimpleCasts/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/SimpleCasts/__snapshots__/Test__test__1.php @@ -38,38 +38,38 @@ use Illuminate\Database\Eloquent\Model; * @property \Illuminate\Support\Collection $cast_to_encrypted_collection * @property array $cast_to_encrypted_json * @property object $cast_to_encrypted_object - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast query() - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToArray($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToBool($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToBoolean($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDate($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDateSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDatetimeSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDecimal($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDouble($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncrypted($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedArray($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedCollection($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedJson($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToFloat($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableCustomDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDate($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDateSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDatetime($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDatetimeSerialization($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToInt($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToInteger($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToJson($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToObject($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToReal($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToString($value) - * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToTimestamp($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast query() + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToArray($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToBool($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToBoolean($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDateSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDatetimeSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDecimal($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToDouble($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncrypted($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedArray($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedCollection($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedJson($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToEncryptedObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToFloat($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableCustomDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDateSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDatetime($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToImmutableDatetimeSerialization($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToInt($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToInteger($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToJson($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToObject($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToReal($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToString($value) + * @method static \Illuminate\Database\Eloquent\Builder|SimpleCast whereCastToTimestamp($value) * @mixin \Eloquent */ class SimpleCast extends Model diff --git a/tests/Console/ModelsCommand/SoftDeletes/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/SoftDeletes/__snapshots__/Test__test__1.php index 1e89df1..d92ad4b 100644 --- a/tests/Console/ModelsCommand/SoftDeletes/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/SoftDeletes/__snapshots__/Test__test__1.php @@ -11,13 +11,13 @@ use Illuminate\Database\Eloquent\SoftDeletes; * * * @property int $id - * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Simple onlyTrashed() - * @method static \Illuminate\Database\Eloquent\Builder|Simple query() - * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Simple withTrashed() - * @method static \Illuminate\Database\Eloquent\Builder|Simple withoutTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Simple onlyTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Simple query() + * @method static \Illuminate\Database\Eloquent\Builder|Simple whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Simple withTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Simple withoutTrashed() * @mixin \Eloquent */ class Simple extends Model diff --git a/tests/Console/ModelsCommand/UnionTypes/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/UnionTypes/__snapshots__/Test__test__1.php index fec632f..720c528 100644 --- a/tests/Console/ModelsCommand/UnionTypes/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/UnionTypes/__snapshots__/Test__test__1.php @@ -14,11 +14,11 @@ use Illuminate\Database\Query\Builder; * @property-read string|int|null $foo * @property-read \Illuminate\Database\Eloquent\Collection $withUnionTypeReturn * @property-read int|null $with_union_type_return_count - * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel query() - * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel withNullableUnionTypeParameter(string|int|null $bar) - * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel withUnionTypeParameter(string|int $bar) + * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel query() + * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel withNullableUnionTypeParameter(string|int|null $bar) + * @method static \Illuminate\Database\Eloquent\Builder|UnionTypeModel withUnionTypeParameter(string|int $bar) * @mixin \Eloquent */ class UnionTypeModel extends Model diff --git a/tests/Console/ModelsCommand/Variadic/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/Variadic/__snapshots__/Test__test__1.php index ca6b7af..9f1d537 100644 --- a/tests/Console/ModelsCommand/Variadic/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/Variadic/__snapshots__/Test__test__1.php @@ -11,12 +11,12 @@ use Illuminate\Database\Eloquent\Model; * * * @property int $id - * @method static Builder|Simple newModelQuery() - * @method static Builder|Simple newQuery() - * @method static Builder|Simple query() - * @method static Builder|Simple whereId($value) - * @method static Builder|Simple whereTypedVariadic(int ...$values) - * @method static Builder|Simple whereVariadic(...$values) + * @method static Builder|Simple newModelQuery() + * @method static Builder|Simple newQuery() + * @method static Builder|Simple query() + * @method static Builder|Simple whereId($value) + * @method static Builder|Simple whereTypedVariadic(int ...$values) + * @method static Builder|Simple whereVariadic(...$values) * @mixin \Eloquent */ class Simple extends Model