@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Get the services provided by the provider. |
| 37 | 37 | * |
| 38 | - * @return array |
|
| 38 | + * @return string[] |
|
| 39 | 39 | */ |
| 40 | 40 | public function provides() |
| 41 | 41 | { |
@@ -82,9 +82,6 @@ discard block |
||
| 82 | 82 | * |
| 83 | 83 | * @param string $type Could be error, info, success, or warning. |
| 84 | 84 | * @param string $text The notification's message |
| 85 | - * @param string $title The notification's title |
|
| 86 | - * @param array $options |
|
| 87 | - * @param bool $onlyNextRequest if true(default), se the notification in session only for the next request |
|
| 88 | 85 | * |
| 89 | 86 | */ |
| 90 | 87 | public function add($theme, $timeout, $type, $layout, $text, $sounds = null, $soundsVolume = null) |
@@ -151,8 +148,6 @@ discard block |
||
| 151 | 148 | /** |
| 152 | 149 | * Shortcut for adding an info notification |
| 153 | 150 | * |
| 154 | - * @param string $message The notification's message |
|
| 155 | - * @param string $title The notification's title |
|
| 156 | 151 | * @param array $options |
| 157 | 152 | */ |
| 158 | 153 | public function info($text, $onlyNextRequest = true, array $options = []) |
@@ -167,8 +162,6 @@ discard block |
||
| 167 | 162 | /** |
| 168 | 163 | * Shortcut for adding an error notification |
| 169 | 164 | * |
| 170 | - * @param string $message The notification's message |
|
| 171 | - * @param string $title The notification's title |
|
| 172 | 165 | * @param array $options |
| 173 | 166 | */ |
| 174 | 167 | public function error($text, $onlyNextRequest = true, array $options = []) |
@@ -183,8 +176,6 @@ discard block |
||
| 183 | 176 | /** |
| 184 | 177 | * Shortcut for adding a warning notification |
| 185 | 178 | * |
| 186 | - * @param string $message The notification's message |
|
| 187 | - * @param string $title The notification's title |
|
| 188 | 179 | * @param array $options |
| 189 | 180 | */ |
| 190 | 181 | public function warning($text, $onlyNextRequest = true, array $options = []) |
@@ -199,8 +190,6 @@ discard block |
||
| 199 | 190 | /** |
| 200 | 191 | * Shortcut for adding a success notification |
| 201 | 192 | * |
| 202 | - * @param string $message The notification's message |
|
| 203 | - * @param string $title The notification's title |
|
| 204 | 193 | * @param array $options |
| 205 | 194 | */ |
| 206 | 195 | public function success($text, $onlyNextRequest = true, array $options = []) |
@@ -215,7 +204,6 @@ discard block |
||
| 215 | 204 | /** |
| 216 | 205 | * Clear all notifications |
| 217 | 206 | * |
| 218 | - * @param bool $withSession if true (default) clean notifications in session too. |
|
| 219 | 207 | */ |
| 220 | 208 | public function clear() |
| 221 | 209 | { |