We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31ab3c commit beb1f5eCopy full SHA for beb1f5e
api/src/Entity/ContentNode.php
@@ -167,7 +167,7 @@ public function getContentTypeName(): string {
167
#[SerializedName('owner')]
168
#[ApiProperty(writable: false, example: '/activities/1a2b3c4d')]
169
#[Groups(['read'])]
170
- public function getRootOwner(): null|Activity|Category|AbstractContentNodeOwner {
+ public function getRootOwner(): Activity|Category|AbstractContentNodeOwner|null {
171
if (null !== $this->root) {
172
return $this->root->owner;
173
}
0 commit comments