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.
2 parents b701e19 + eff7837 commit 4844ca6Copy full SHA for 4844ca6
lib/public/Collaboration/Reference/IReference.php
@@ -98,7 +98,7 @@ public function setUrl(?string $url): void;
98
/**
99
* @since 25.0.0
100
*/
101
- public function getUrl(): ?string;
+ public function getUrl(): string;
102
103
104
* Set the reference specific rich object representation
lib/public/Collaboration/Reference/Reference.php
@@ -149,8 +149,8 @@ public function setUrl(?string $url): void {
149
* @inheritdoc
150
151
152
- public function getUrl(): ?string {
153
- return $this->url;
+ public function getUrl(): string {
+ return $this->url ?? $this->reference;
154
}
155
156
0 commit comments