There was an error while loading. Please reload this page.
1 parent b639906 commit 9e6350eCopy full SHA for 9e6350e
src/Entities/Page.php
@@ -156,10 +156,11 @@ private function fillTitle(): void
156
* @param $property
157
* @return Page
158
*/
159
- public function set(string $propertyTitle, Property $property): Page
+ public function set(string $propertyKey, Property $property): Page
160
{
161
- $property->setTitle($propertyTitle);
+ $property->setTitle($propertyKey);
162
$this->properties->add($property);
163
+ $this->propertyMap[$propertyKey] = $property;
164
165
if ($property instanceof Title) {
166
$this->title = $property->getPlainText();
0 commit comments