-
I was deal WITH `softDeletes` trait, and when I use the `history` method as exists in the docs the `Call to undefined method App\Models\User::history()` issue is triggered, here is my code
```php
…
-
I am trying to extend the Role model as instructed https://docs.spatie.be/laravel-permission/v3/advanced-usage/extending/#extending to add soft delete trait to the role. But the feature is not working…
-
Using CTE's withExpression() method when SoftDeletes are active gives some problems. The temporary table created, does not know the 'real-table'.deleted_at. column
At this moment I use the withTras…
-
- Larastan Version: 0.3.13
- `--level` used: 5
### Description
I'm getting what I believe are false positives
Call to an undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::wi…
-
My model contains the SpatialTrait from Grimzy\LaravelMysqlSpatial and the HasRecursiveRelationships trait from your adjacency list package, but since 1.5.1, I am now getting this error:
```php
Unde…
-
All my table names are in singular and not plural. Is there a protected $table = ""; Available for cashier?
-
Hi, I need to apply an order on a relatable query in Laravel Nova.
I've tried everything on this page [https://github.com/laravel/nova-issues/issues/156](https://github.com/laravel/nova-issues/issu…
-
- Laravel Version: 8.42.1
- Nova Version: 3.23.2
- PHP Version: 8.0.3
### Description:
In my app models, I override the `trashed()` method from the `SoftDeletes` trait to add some custom logic.
…
-
**Environment:**
- LDAP Server Type: ActiveDirectory
- LdapRecord-Laravel Major Version: v2
- PHP Version: ^7.3
- Laravel version: 6.20.30
**Describe the bug:**
Whenever I try to log in th…
-
- Larastan Version: 0.6.13
- `--level` used: 6
### Description
If we use the static method "withTrashed" of the SoftDeletes trait in a Eloquent query, Phpstan throws an error because according to…