Skip to content

Commit c8c159a

Browse files
committed
relation
1 parent 93a595b commit c8c159a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Models/Traits/RelateToSpace.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trait RelateToSpace {
66
protected ?string $space_key;
77

88
public function getSpaceKey (): ?string {
9-
return $this->space_key;
9+
return $this->space_key ?? null;
1010
}
1111

1212
public function setSpaceKey ( $key ) {

0 commit comments

Comments
 (0)