Skip to content

Commit 7260246

Browse files
committed
Merge branch 'feature/create-timestampable-trait' into feature/add-database-attributes
2 parents fcb68e9 + 558844e commit 7260246

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
@@ -5,7 +5,7 @@
55
use FiveamCode\LaravelNotionApi\Entities\Properties\Property;
66
use FiveamCode\LaravelNotionApi\Entities\PropertyItems\RichText;
77
use FiveamCode\LaravelNotionApi\Exceptions\HandlingException;
8-
use FiveamCode\LaravelNotionApi\Traits\TimestampableEntity;
8+
use FiveamCode\LaravelNotionApi\Traits\HasTimestamps;
99
use Illuminate\Support\Arr;
1010
use Illuminate\Support\Collection;
1111

@@ -14,7 +14,7 @@
1414
*/
1515
class Database extends Entity
1616
{
17-
use TimestampableEntity;
17+
use HasTimestamps;
1818

1919
/**
2020
* @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)