Skip to content

Commit

Permalink
refactor: run rector
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 8, 2022
1 parent 22d4d60 commit d9e5919
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions system/Debug/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ public function run(float $startTime, float $totalTime, RequestInterface $reques

$data['config'] = Config::display();

if ($response->getCSP() !== null) {
$response->getCSP()->addImageSrc('data:');
}
$response->getCSP()->addImageSrc('data:');

return json_encode($data);
}
Expand Down

0 comments on commit d9e5919

Please sign in to comment.