Skip to content

Commit beb1f5e

Browse files
committed
null to the end
1 parent b31ab3c commit beb1f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/Entity/ContentNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function getContentTypeName(): string {
167167
#[SerializedName('owner')]
168168
#[ApiProperty(writable: false, example: '/activities/1a2b3c4d')]
169169
#[Groups(['read'])]
170-
public function getRootOwner(): null|Activity|Category|AbstractContentNodeOwner {
170+
public function getRootOwner(): Activity|Category|AbstractContentNodeOwner|null {
171171
if (null !== $this->root) {
172172
return $this->root->owner;
173173
}

0 commit comments

Comments
 (0)