79081543

Date: 2024-10-12 17:35:41
Score: 0.5
Natty:
Report link

Actually, the \Barryvdh\Debugbar\Middleware\InjectDebugbar::class, part needs to be after \App\Http\Middleware\DebugMiddleware::class,.

In your middleware you conditionally enable the Debugbar, and this is InjectDebugbar::class which checks if Debugbar is enabled and injects it into your response.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: boryn