We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c097d commit 25c97d4Copy full SHA for 25c97d4
src/Entities/Entity.php
@@ -50,7 +50,7 @@ public function __construct(array $responseData = null)
50
*/
51
protected function setResponseData(array $responseData): void
52
{
53
- if (!Arr::exists($responseData, 'object')) {
+ if (! Arr::exists($responseData, 'object')) {
54
throw new HandlingException('invalid json-array: no object given');
55
}
56
@@ -65,7 +65,7 @@ protected function setResponseData(array $responseData): void
65
throw NotionException::instance('Not found', compact('responseData'));
66
67
68
- if (!Arr::exists($responseData, 'id')) {
+ if (! Arr::exists($responseData, 'id')) {
69
throw HandlingException::instance('invalid json-array: no id provided');
70
71
0 commit comments