-
**Describe the bug**
Return types for some methods are not formed correctly when using relationships in Laravel models.
**To Reproduce**
```php
namespace App\Models;
use Illuminate\Databa…
-
- Larastan Version: 2.10.8
- Laravel Version: 11.23.*
### Description
Starting from Laravel 11.23.* the following error
```
Parameter 1 $relations of method Illuminate\Database\Eloquent\Build…
-
I'm encountering an issue that seems to be related to changes introduced in version `2.9.8`. When performing joins, the `where()` clause does not recognize columns with table prefixes as attributes of…
-
I am upgrading laravel 10 project to version 11. I have upgraded
`sethphat/eloquent-docs` package to [v2.0.1](https://github.com/sethsandaru/eloquent-docs/releases/tag/v2.0.1)
```sh
user001@DEV:…
-
**Describe the bug**
Last versions of Intelephense are showing errors on model instances. See the screenshot.
With error
Expected type 'App\Models\Vehicle'. Found 'Illuminate\Database\Eloquent\…
-
**API Platform version(s) affected**: 4.0 (api-platform/laravel)
**Description**
We have Laravel Models which are not using the default "id" column name as primary keys.
This causes an erro…
-
### What happened?
When using an other user tenant relationship than teams it throws this error:
` Call to a member function newCollection() on null `
When I change the global scope on the te…
-
### Versions:
- ide-helper Version: 3.1
- Laravel Version: 11.15
- PHP Version: 8.3
### Description:
Additionally to issues like https://github.com/barryvdh/laravel-ide-helper/issues/1571, Lara…
-
This lib cannot handle relationships like OneToOne, etc.
-
### Description
Currently runway offers fieldtypes that support 'belongs to' and 'has many' relationships. I need a fieldtype that would be used for HasOne relationship. Currently, in my code I hav…