Skip to content

Commit 78d93e2

Browse files
committed
change name of fill-method of traits
- ``...properties`` to ``...attributes``
1 parent cef1226 commit 78d93e2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/Entities/Blocks/Block.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ protected function fillFromRaw(): void
6363
$this->fillType();
6464
$this->fillRawContent();
6565
$this->fillHasChildren();
66-
$this->fillParentProperties();
67-
$this->fillArchivedProperties();
66+
$this->fillParentAttributes();
67+
$this->fillArchivedAttributes();
6868
$this->fillTimestampableAttributes();
6969
}
7070

src/Entities/Database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ private function fillFromRaw()
107107
$this->fillDescription();
108108
$this->fillProperties();
109109
$this->fillDatabaseUrl();
110-
$this->fillParentProperties();
111-
$this->fillArchivedProperties();
110+
$this->fillParentAttributes();
111+
$this->fillArchivedAttributes();
112112
$this->fillTimestampableAttributes();
113113
}
114114

src/Entities/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ private function fillFromRaw(): void
117117
$this->fillPageUrl();
118118
$this->fillIcon();
119119
$this->fillCover();
120-
$this->fillParentProperties();
121-
$this->fillArchivedProperties();
120+
$this->fillParentAttributes();
121+
$this->fillArchivedAttributes();
122122
$this->fillTimestampableAttributes();
123123
}
124124

src/Traits/HasArchive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ trait HasArchive
1919
*/
2020
private bool $archived = false;
2121

22-
protected function fillArchivedProperties(): void
22+
protected function fillArchivedAttributes(): void
2323
{
2424
$this->fillArchived();
2525
}

src/Traits/HasParent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait HasParent
2424
*/
2525
private string $parentType = '';
2626

27-
protected function fillParentProperties(): void
27+
protected function fillParentAttributes(): void
2828
{
2929
$this->fillParent();
3030
}

0 commit comments

Comments
 (0)