Closed vatsake closed 1 year ago
Hi @vatsake,
This is expected and is not a bug. If you'd like to preserve IDE type-hints, you must call the static query()
method on the model:
use LdapRecord\Models\ActiveDirectory\User;
User::query()->where('...')
Environment:
I'm using the devsense plugin for vscode - It displays error and such. Some methods get the following error:![image](https://user-images.githubusercontent.com/36108180/212623761-9c846e65-7a3e-4915-8058-29243ce20a26.png)