@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @license GNU General Public License, version 2 (GPL-2.0) |
111 | 111 | * |
112 | 112 | * @param string $step The step (enable, disable, purge) |
113 | - * @param array $notification_types The notification type names |
|
113 | + * @param string[] $notification_types The notification type names |
|
114 | 114 | * |
115 | 115 | * @return string Return notifications as temporary state |
116 | 116 | * @access protected |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | /** |
132 | 132 | * Returns the list of notification types |
133 | 133 | * |
134 | - * @return array |
|
134 | + * @return string[] |
|
135 | 135 | * @access protected |
136 | 136 | */ |
137 | 137 | protected function notification_types() |
@@ -122,7 +122,7 @@ |
||
122 | 122 | |
123 | 123 | foreach ($notification_types as $notification_type) |
124 | 124 | { |
125 | - call_user_func(array($phpbb_notifications, $step . '_notifications'), $notification_type); |
|
125 | + call_user_func(array($phpbb_notifications, $step.'_notifications'), $notification_type); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | return 'notifications'; |