Skip to content

Commit

Permalink
refactor: run rector
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 23, 2022
1 parent d077edd commit 82beab6
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 82beab6

Please sign in to comment.