laravel-ide-helper
laravel-ide-helper copied to clipboard
IDE Helper for Laravel
### Summary Hi. Since the higher PHPStan levels wants generics on array types, I was wondering how you would feel about changing array properties on models from ``` * @property...
### Versions: - ide-helper Version: 2.12.3 - Laravel Version: 8.83.9 - PHP Version: 8.0 ### Question: Why is no description created for this method? ```php public function currentEmployee(int|null $legalEntityId =...
### Versions: - ide-helper Version: 3.2.2 - Laravel Version: 11.34.2 - PHP Version: 8.3.14 ### Description: This wonderful package (thank you!) adds something like the following if I have a...
### Versions: - ide-helper Version: 3.2.2 - Laravel Version: 11.34.2 - PHP Version: 8.3.14 ### Description: I had `Expected type 'App\Models\BalanceActivity'. Found 'Illuminate\Database\TReturn'` kind of IDE errors after I upgrade...
### Versions: - ide-helper Version: 2.15.1 - Laravel Version: 10.48.14 - PHP Version: 8.2.19 ### Description: There is exception when an virtual attribute created and it has some calculations based...
### Versions: - ide-helper Version: latest - Laravel Version: 9 We should use ```@mixin \Illuminate\Database\Eloquent\Builder``` instead of ```@mixin \Eloquent``` https://stackoverflow.com/questions/31830077/phpstorm-is-not-recognizing-methods-of-my-model-class-in-laravel-5-0
### Versions: - ide-helper Version: 3.2 - Laravel Version: 11.9 - PHP Version: 8.3 ### Description: Calling `cursorPaginate()` returns the Contract type but the actual instance has more methods (e.g....
### Versions: - ide-helper Version: 3.1.0 - Laravel Version: 10.48.20 - PHP Version: 8.2.22 ### Description: If you have two classes, say User and FeatureFlag and they have a relationship...
### Versions: - ide-helper Version: v3.1.0 - Laravel Version: 11.28.1 - PHP Version: 8.3.11 ### Question: When defining a macro, let's say for the Response class: ```php // app/Providers/AppServiceProvider.php use...