From f8cd9f027778fffb3bff9a09102afd524ca3cad6 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 6 Feb 2023 19:08:58 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Entities/Entity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entities/Entity.php b/src/Entities/Entity.php index 19ec2df..b23671f 100644 --- a/src/Entities/Entity.php +++ b/src/Entities/Entity.php @@ -50,7 +50,7 @@ public function __construct(array $responseData = null) */ protected function setResponseData(array $responseData): void { - if (!Arr::exists($responseData, 'object')) { + if (! Arr::exists($responseData, 'object')) { throw new HandlingException('invalid json-array: no object given'); } @@ -65,7 +65,7 @@ protected function setResponseData(array $responseData): void throw NotionException::instance('Not found', compact('responseData')); } - if (!Arr::exists($responseData, 'id')) { + if (! Arr::exists($responseData, 'id')) { throw HandlingException::instance('invalid json-array: no id provided'); }