Skip to content

Commit 27f61a6

Browse files
committed
rename 'fillUrl' to 'fillPageUrl'
- small refactoring was necessary to clarify, that this 'filling' represents the actual page-url of the notion-page and is not a fillable property of a page
1 parent 539b599 commit 27f61a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Entities/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private function fillFromRaw(): void
106106
$this->fillObjectType();
107107
$this->fillProperties();
108108
$this->fillTitle(); // This has to be called after fillProperties(), since title is provided by properties
109-
$this->fillUrl();
109+
$this->fillPageUrl();
110110
$this->fillCreatedTime();
111111
$this->fillLastEditedTime();
112112
}
@@ -160,7 +160,7 @@ private function fillTitle(): void
160160
/**
161161
*
162162
*/
163-
private function fillUrl(): void
163+
private function fillPageUrl(): void
164164
{
165165
if (Arr::exists($this->responseData, 'url')) {
166166
$this->url = $this->responseData['url'];

0 commit comments

Comments
 (0)