Fix return type of methods provided by SoftDeletes (#1345)

* Fix return type of methods provided by `SoftDeletes`

* Update CHANGELOG

* fix test / update snapshot
This commit is contained in:
KentarouTakeda
2022-08-11 12:36:43 +02:00
committed by GitHub
parent c76fbb5b61
commit 07f5eaea73
5 changed files with 11 additions and 10 deletions
@@ -95,7 +95,7 @@ use Illuminate\Support\Carbon;
* @method static EloquentBuilder|Post newModelQuery()
* @method static EloquentBuilder|Post newQuery()
* @method static EloquentBuilder|Post null(string $unusedParam)
* @method static QueryBuilder|Post onlyTrashed()
* @method static EloquentBuilder|Post onlyTrashed()
* @method static EloquentBuilder|Post query()
* @method static EloquentBuilder|Post whereBigIntegerNotNullable($value)
* @method static EloquentBuilder|Post whereBigIntegerNullable($value)
@@ -170,8 +170,8 @@ use Illuminate\Support\Carbon;
* @method static EloquentBuilder|Post whereUuidNullable($value)
* @method static EloquentBuilder|Post whereYearNotNullable($value)
* @method static EloquentBuilder|Post whereYearNullable($value)
* @method static QueryBuilder|Post withTrashed()
* @method static QueryBuilder|Post withoutTrashed()
* @method static EloquentBuilder|Post withTrashed()
* @method static EloquentBuilder|Post withoutTrashed()
* @mixin Eloquent
*/
class Post extends Model