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'); }