Skip to content

Commit 558844e

Browse files
committed
rename TimestampableEntity
- to ``HasTimestamps`` - for improved readability
1 parent 0a982bb commit 558844e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Entities/Blocks/Block.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
use FiveamCode\LaravelNotionApi\Entities\Entity;
66
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
7-
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;
7+
use FiveamCode\LaravelNotionApi\Traits\HasTimestamps;
88
use Illuminate\Support\Arr;
99

1010
/**
1111
* Class Block.
1212
*/
1313
class Block extends Entity
1414
{
15-
use TimestampableEntity;
15+
use HasTimestamps;
1616

1717
/**
1818
* @var string

src/Entities/Database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use FiveamCode\LaravelNotionApi\Entities\Properties\Property;
66
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
7-
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;
7+
use FiveamCode\LaravelNotionApi\Traits\HasTimestamps;
88
use Illuminate\Support\Arr;
99
use Illuminate\Support\Collection;
1010

@@ -13,7 +13,7 @@
1313
*/
1414
class Database extends Entity
1515
{
16-
use TimestampableEntity;
16+
use HasTimestamps;
1717

1818
/**
1919
* @var string

src/Entities/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use FiveamCode\LaravelNotionApi\Entities\Properties\Title;
1818
use FiveamCode\LaravelNotionApi\Entities\Properties\Url;
1919
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
20-
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;
20+
use FiveamCode\LaravelNotionApi\Traits\HasTimestamps;
2121
use Illuminate\Support\Arr;
2222
use Illuminate\Support\Collection;
2323

@@ -26,7 +26,7 @@
2626
*/
2727
class Page extends Entity
2828
{
29-
use TimestampableEntity;
29+
use HasTimestamps;
3030

3131
/**
3232
* @var string
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Trait UpdatableEntity.
1212
*/
13-
trait TimestampableEntity
13+
trait HasTimestamps
1414
{
1515
/**
1616
* @var array

0 commit comments

Comments
 (0)