Skip to content

Commit 8542f79

Browse files
authored
Apply fixes from StyleCI (#102)
1 parent de705ae commit 8542f79

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Entities/Page.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use FiveamCode\LaravelNotionApi\Entities\Properties\Url;
1919
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
2020
use Illuminate\Support\Arr;
21-
use Illuminate\Support\Str;
2221
use Illuminate\Support\Collection;
2322

2423
/**
@@ -469,7 +468,7 @@ public function getProperties(): Collection
469468
*/
470469
public function getProperty(string $propertyKey): ?Property
471470
{
472-
if (!isset($this->propertyMap[$propertyKey])) {
471+
if (! isset($this->propertyMap[$propertyKey])) {
473472
return null;
474473
}
475474

src/Entities/Properties/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static function value($text): Text
5656
protected function fillFromRaw(): void
5757
{
5858
parent::fillFromRaw();
59-
if (!is_array($this->rawContent)) {
59+
if (! is_array($this->rawContent)) {
6060
throw HandlingException::instance('The property-type is text, however the raw data-structure does not represent this type (= array of items). Please check the raw response-data.');
6161
}
6262

0 commit comments

Comments
 (0)