laravel-ide-helper icon indicating copy to clipboard operation
laravel-ide-helper copied to clipboard

IDE Helper for Laravel

Results 184 laravel-ide-helper issues
Sort by recently updated
recently updated
newest added

This PR fixes the return value of query scope methods that are defined in a parent class of the target model. At the moment the return value contains the class...

## Summary Try to avoid using the fork of ReflectionDocBlock. The official lib still doesn't support changing the docs but it does support creating a new one.. ## Type of...

## Summary ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking...

## Summary This PR add pivot property when using a pivot model on BelongsToMany relation ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue)...

### Versions: - ide-helper Version: v2.13.0 - Laravel Version: v10.2.9 - PHP Version: v8.2.11 ### Description: since 2023 oct 1 `carbonphp/carbon-doctrine-types` bump version to v3.0.0, it supports only `doctrine/dbal:^4.0`, but...

bug

### Versions: - ide-helper Version: 2.13.0 - Laravel Version: 10 - PHP Version: 8.1 ### Description: All models in file `_ide_helper_models.php` extends always \Eloquent. Sometimes it's wrong because a model...

bug

Just throwing this as a reminder/placeholder. I came across https://github.com/phpstan/phpdoc-parser which is a zero-requirements package to parse and modify phpdocs. I've forked https://github.com/barryvdh/ReflectionDocBlock in the past because the original didn't...

enhancement

## Summary Enable the recognition of attributes without any return type in the declared closures. The following example was not recognized before: ```php protected function attributeWithoutReturnTypes(): Attribute { return new...

## The problem When casting Eloquent attributes to `spatie/laravel-data` Data objects, ide-helper doesn't pick the correct class. For example, the example from Spatie's documentation https://spatie.be/docs/laravel-data/v2/advanced-usage/eloquent-casting: ```php

### Versions: - ide-helper Version: dev-master [6336db0](https://github.com/barryvdh/laravel-ide-helper/commit/6336db05481efb3061b0e27b2d26745d7405e1d8) - Laravel Version: 10.22.0 - PHP Version: 8.2.4 ### Description: After specifying the key and value type for an Eloquent Model's array `@property`...

bug