Skip to content

Commit a8e27e4

Browse files
committed
add missing types
1 parent b96fd3e commit a8e27e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

files/lib/system/user/notification/event/WscApiUserNotificationEvent.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function prepare() {
3131
/**
3232
* @inheritDoc
3333
*/
34-
public function getTitle() {
34+
public function getTitle(): string {
3535
return $this->getUserNotificationObject()->title;
3636
}
3737

@@ -69,7 +69,7 @@ public function getEventHash() {
6969
/**
7070
* @inheritDoc
7171
*/
72-
public function getLink() {
72+
public function getLink(): string {
7373
return $this->getUserNotificationObject()->url;
7474
}
7575

files/lib/system/user/notification/object/ApiNotificationUserNotificationObject.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ApiNotificationUserNotificationObject extends DatabaseObjectDecorator impl
1313
/**
1414
* @inheritDoc
1515
*/
16-
public function getTitle() {
16+
public function getTitle(): string {
1717
return $this->getDecoratedObject()->title;
1818
}
1919

0 commit comments

Comments
 (0)