Skip to content

Commit

Permalink
Use proper typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Dec 12, 2024
1 parent 7fb04d2 commit 88f7c6e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions classes/notification/form/PKPNotificationSettingsForm.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @defgroup notification_form Notification Form
*/
Expand Down Expand Up @@ -59,10 +60,8 @@ public function readInputData()

/**
* Get all notification settings form names and their setting type values
*
* @return array
*/
protected function getNotificationSettingsMap()
protected function getNotificationSettingsMap(): array
{
$notificationManager = new NotificationManager();
return $notificationManager->getNotificationSettingsMap();
Expand Down

0 comments on commit 88f7c6e

Please sign in to comment.