erikn69

Results 151 comments of erikn69

It doesn't seem like a bug >Added a test in the AppServiceProvider.php, boot() function: DB::table('user')->where('id', 1)->first(); >But I still don't see this sql-request in the Queries tab of DebugBar =(...

#59 avoids the TypeError

@thecko hi, try #590 and let your review there

![image](https://github.com/barryvdh/laravel-debugbar/assets/4933954/13c29e72-99cc-45e0-aad7-428e9e25ec39) I couldn't replicate it, what driver do you use, Laravel version, laravel-debugbar version, database, database version?

You have very really outdated versions try adding `"repositories"` with my fork, i added laravel 8 with the current changes ```js "require-dev": { "barryvdh/laravel-debugbar": "^3.6.7", /// }, "repositories":[ { "type":...

> the `getStoredPermissions()` method doesn't check against IDs if the incoming param is an array Ok, i see it now, but `syncPermissions` calls `collectPermissions`, then `collectPermissions` calls `getStoredPermissions` `collectPermissions` uses...

I added some tests but I'm still not sure, I feel like I'm missing something 😕

>Could this be a breaking change? Possibly, if someone uses numbers as names in permissions/roles, they will no longer be able to access those models through the package. >https://github.com/spatie/laravel-permission/blob/62f22e192711fe56fb55b57b586001f8674b4396/tests/WildcardHasPermissionsTest.php#L244

>When in AppServiceProvider boot I add Debugbar::disable(); and then in the middleware in the condition I add Debugbar::enable(); it does not work. I do the same, and works But i...

Fixed on #1519 ![image](https://github.com/barryvdh/laravel-debugbar/assets/4933954/81964432-46b6-4f53-a777-346459978e35)