@@ -98,9 +98,9 @@ discard block |
||
| 98 | 98 | * |
| 99 | 99 | * @param string $type Could be error, info, success, or warning. |
| 100 | 100 | * @param string $text The notification's message |
| 101 | - * @param string $title The notification's title |
|
| 102 | 101 | * @param array $options |
| 103 | 102 | * @param bool $onlyNextRequest if true(default), se the notification in session only for the next request |
| 103 | + * @param integer $timeout |
|
| 104 | 104 | * |
| 105 | 105 | */ |
| 106 | 106 | public function add($theme, $timeout, $type, $layout, $text, array $options = [], bool $onlyNextRequest=true) |
@@ -128,8 +128,6 @@ discard block |
||
| 128 | 128 | /** |
| 129 | 129 | * Shortcut for adding an info notification |
| 130 | 130 | * |
| 131 | - * @param string $message The notification's message |
|
| 132 | - * @param string $title The notification's title |
|
| 133 | 131 | * @param array $options |
| 134 | 132 | */ |
| 135 | 133 | public function info($text, array $options = []) |
@@ -144,8 +142,6 @@ discard block |
||
| 144 | 142 | /** |
| 145 | 143 | * Shortcut for adding an error notification |
| 146 | 144 | * |
| 147 | - * @param string $message The notification's message |
|
| 148 | - * @param string $title The notification's title |
|
| 149 | 145 | * @param array $options |
| 150 | 146 | */ |
| 151 | 147 | public function error($text, array $options = []) |
@@ -160,8 +156,6 @@ discard block |
||
| 160 | 156 | /** |
| 161 | 157 | * Shortcut for adding a warning notification |
| 162 | 158 | * |
| 163 | - * @param string $message The notification's message |
|
| 164 | - * @param string $title The notification's title |
|
| 165 | 159 | * @param array $options |
| 166 | 160 | */ |
| 167 | 161 | public function warning($text, array $options = []) |
@@ -176,8 +170,6 @@ discard block |
||
| 176 | 170 | /** |
| 177 | 171 | * Shortcut for adding a success notification |
| 178 | 172 | * |
| 179 | - * @param string $message The notification's message |
|
| 180 | - * @param string $title The notification's title |
|
| 181 | 173 | * @param array $options |
| 182 | 174 | */ |
| 183 | 175 | public function success($text, array $options = []) |