-
Type:
Question
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Laravel
-
None
-
None
-
None
-
None
-
None
-
None
-
None
carloszimm has created Issue #3448: My project can't find Prunable trait in laravel-mongodb. This Jira ticket was filed by GromNaN
Issue Text:
- Laravel-mongodb Version: 4.9
- PHP Version: 8.3
- Database Driver & Version: 1.21.0
Description:
My project is not able to find the trait MongoDB\Laravel\Eloquent\Prunable. MassPrunable works fine but not normal Prunable. I checked both the documentation of version 4.x and 5 and both list the trait; however, when I try to import it in PHPStorm, it can't find it. I checked the codebase, and, apparently, it doesn't exist either. Is that something dependable on the newest mongodb driver?
Steps to reproduce
1. Try to use Prunable in a model
2. The IDE can only find the common Eloquent Prunable
Expected behaviour
It should be imported correctly.
Actual behaviour
Undefined class 'Prunable'