-
- Larastan Version: >=2.9.9
- Laravel Version: 11.30.0
### Description
Since upgrading to 2.9.9, using `SoftDeletes` in a model will break the `casts()` arrayshape return type. This is present …
-
Note: #9781 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
----
commit: ec0cbb20ba42b7ef03688a06dc0a380e9b27e394
buildURL: [Build Status](https://source…
-
Hi
Is there any way i can load relation with trashed items in `with` method?
![image](https://github.com/user-attachments/assets/c339be5b-919e-444d-b971-bb22bae7f952)
-
### Bug report
If I have a trait that includes a method, and I check to ensure that the class uses the trait, PHPStan doesn't recognize that the method exists.
Example:
```php
class Article ex…
-
Any guide for using soft delete behavior in data ?
Show all, or show just Undeleted for tree results.
Thanks for awesome and useful project btw :+1:
-
Add behavior similar to `SET NULL` action. It will set relation column to NULL when referenced model is deleted.
For example
```php
Class User extends Model {
use SoftDeletes, SoftCascadeTrait…
-
**Issue type:**
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[ ] `mssql`
[x] `mysql` / `mariadb`
[ ] …
-
### Issue description
When doing a softDelete already deleted rows get udpated (inside a transaction, maybe always)
### Expected Behavior
softDelete should not operate on already softDeleted …
-
I tried to use the new softDelete hooks with `deletedQuery` and `removeData` but something like `removeParams` is missing.
My user does not have the rights to directly make these modifications, I n…
-
Add use of the SoftDelete trait when the deleted_at field is present