Kay W.

Results 13 comments of Kay W.
trafficstars

I think shouldn't throw the error, string is original type of class-string, and that not had generics in PHP language, else I need to define many variables and generics to...

> Sorry, your report isn't clear. Can you please reproduce the error ("Switch condition type") you're talking about? Now it seems that this problem has been fixed.

@julienfalque I found a bug in the following: ```PHP

> @julienfalque I found a bug in the following: > > ``` >

> I tried running `braces` rule on your code sample on latest `master` and on `v3.0.0` and I didn't notice any difference. In both cases, the code was fixed to:...

> I tried running `braces` rule on your code sample on latest `master` and on `v3.0.0` and I didn't notice any difference. In both cases, the code was fixed to:...

> Hello @kayw-geek! 👋🏻 Thank you for your report. > > Could you share the `class` definition of `App\Http\Controllers\Resource\ModelController` and the method `withQuery()` ? ```php abstract class ModelController extends Controller...

> For a moment please try to copy the trait to where it is used. Does it pass? ``` Parameter #1 $query (Illuminate\Database\Eloquent\Builder) of method App\Http\Controllers\Resource\TokenController::withQuery() should be compatible with...