Skip to content

Commit 0a982bb

Browse files
authored
Apply fixes from StyleCI (#104)
1 parent bef69a5 commit 0a982bb

File tree

5 files changed

+1
-13
lines changed

5 files changed

+1
-13
lines changed

src/Entities/Blocks/Block.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace FiveamCode\LaravelNotionApi\Entities\Blocks;
44

5-
use DateTime;
65
use FiveamCode\LaravelNotionApi\Entities\Entity;
76
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
87
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;

src/Entities/Database.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace FiveamCode\LaravelNotionApi\Entities;
44

5-
use DateTime;
6-
use FiveamCode\LaravelNotionApi\Entities\Properties\People;
75
use FiveamCode\LaravelNotionApi\Entities\Properties\Property;
86
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
97
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;
@@ -77,8 +75,6 @@ class Database extends Entity
7775
*/
7876
protected Collection $properties;
7977

80-
81-
8278
protected function setResponseData(array $responseData): void
8379
{
8480
parent::setResponseData($responseData);

src/Entities/Entity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace FiveamCode\LaravelNotionApi\Entities;
44

5-
use Carbon\Carbon;
6-
use DateTime;
75
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
86
use FiveamCode\LaravelNotionApi\Exceptions\NotionException;
97
use Illuminate\Support\Arr;
@@ -69,7 +67,6 @@ protected function setResponseData(array $responseData): void
6967
$this->responseData = $responseData;
7068
}
7169

72-
7370
protected function fillId()
7471
{
7572
$this->id = $this->responseData['id'];

src/Entities/Page.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,5 +465,4 @@ public function getPropertyKeys(): array
465465
{
466466
return $this->propertyKeys;
467467
}
468-
469468
}

src/Traits/TimestampableEntity.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44

55
use Carbon\Carbon;
66
use DateTime;
7-
use FiveamCode\LaravelNotionApi\Entities\Entity;
87
use FiveamCode\LaravelNotionApi\Entities\User;
98
use Illuminate\Support\Arr;
109

1110
/**
12-
* Trait UpdatableEntity
13-
* @package FiveamCode\LaravelNotionApi\Traits
11+
* Trait UpdatableEntity.
1412
*/
1513
trait TimestampableEntity
1614
{
17-
1815
/**
1916
* @var array
2017
*/

0 commit comments

Comments
 (0)