Can Vural
Can Vural
Hi, This is not supported right now. So I changed it to a feature request. But it's a really niche thing, so it's a low priority to support this.
Hi, Good point. Can you send a PR that changes [this](https://github.com/larastan/larastan/blob/6431d010dd383a9279eb8874a76ddb571738564a/stubs/common/EloquentBuilder.stub#L262) line and adds the expression class there?
> PHPDoc changes like this should be implemented in the framework Not true actually. Doing it through Larastan actually benefits more users, since we can apply it to more versions...
I tested it by porting my previous implementation for Larastan to this one, and looks like it works fine! Will try to implement more use cases and see if I...
@calebdw @ondrejmirtes Sorry to bother you, but I wanted to ask how we can move this forward? I'm really interested in this feature.
Thank you. I'll review it in the coming couple days.
Hi, I cannot reproduce it. What I tried is: ```php class BaseModel extends Model {} class Child extends BaseModel { #[Scope] protected function active(Builder $query): void { $query->where('BlockUsageInd', false); }...
Please give some code examples that would re-create this. I took the code from the issue, but could not reproduce a crash.
Hi, > will return either an int or a string depending if it has been cached or not yet, if using redis as the cache driver. It would be great...
But making the return type int|string would still not help. Strict comparison with an union type like that will not produce an error.