Skip to content

Commit 604d2a0

Browse files
committed
NGSTACK-900: make sure dumped keys correspond to properties
(cherry picked from commit f0317b4)
1 parent a5039b1 commit 604d2a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Core/Site/Values/ContentInfo.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getDebugInfo(): array
100100
'name' => $this->name,
101101
'published' => $this->innerContentInfo->published,
102102
'currentVersionNo' => $this->innerContentInfo->currentVersionNo,
103-
'publicationDate' => $this->innerContentInfo->publishedDate,
103+
'publishedDate' => $this->innerContentInfo->publishedDate,
104104
'modificationDate' => $this->innerContentInfo->modificationDate,
105105
'languageCode' => $this->languageCode,
106106
'mainLanguageCode' => $this->innerContentInfo->mainLanguageCode,
@@ -109,7 +109,7 @@ public function getDebugInfo(): array
109109
'isHidden' => $this->innerContentInfo->isHidden,
110110
'sectionId' => $this->innerContentInfo->sectionId,
111111
'ownerId' => $this->innerContentInfo->ownerId,
112-
'contentType' => $this->innerContentType,
112+
'innerContentType' => $this->innerContentType,
113113
'mainLocation' => $this->getMainLocation(),
114114
];
115115
}

lib/Core/Site/Values/Field.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getDebugInfo(): array
5858
'isEmpty' => $this->isEmpty,
5959
'isSurrogate' => $this->isSurrogate,
6060
'content' => $this->content,
61-
'fieldDefinition' => $this->innerFieldDefinition,
61+
'innerFieldDefinition' => $this->innerFieldDefinition,
6262
'value' => $this->value,
6363
];
6464
}

0 commit comments

Comments
 (0)