From f1105990dceb024dbd326a2e5e78cf843ef6b243 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 23 Sep 2022 11:05:41 +0900 Subject: [PATCH] refactor: run rector --- system/Debug/Toolbar.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php index a225bc3a4c61..d6412f38dd12 100644 --- a/system/Debug/Toolbar.php +++ b/system/Debug/Toolbar.php @@ -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); }