Skip to content

Conversation

@browner12
Copy link
Contributor

No description provided.

use DebugBar\DataCollector\DataCollector;
use DebugBar\DataCollector\Renderable;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it can be removed, since the import is not used anywhere, but I would suggest to keep the import of the Response class and use it here

if (!is_a($route, 'Illuminate\Routing\Route')) {

as Response::class instead of a string value

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're free to make a separate PR, but I'm going to leave this as is.

use Barryvdh\Debugbar\DataCollector\CacheCollector;
use Barryvdh\Debugbar\DataCollector\EventCollector;
use Barryvdh\Debugbar\DataCollector\FilesCollector;
use Barryvdh\Debugbar\DataCollector\GateCollector;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same suggestions as above - leave the import and use in the code instead of string values

@browner12
Copy link
Contributor Author

no interest apparently, closing

@browner12 browner12 closed this Oct 27, 2025
@browner12 browner12 deleted the AB-unused-imports branch October 27, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants