@@ -98,9 +98,11 @@ 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 string $theme |
|
104 | + * @param integer $timeout |
|
105 | + * @param string $layout |
|
104 | 106 | * |
105 | 107 | */ |
106 | 108 | public function add($theme, $timeout, $type, $layout, $text, array $options = [], bool $onlyNextRequest=true) |
@@ -128,8 +130,6 @@ discard block |
||
128 | 130 | /** |
129 | 131 | * Shortcut for adding an info notification |
130 | 132 | * |
131 | - * @param string $message The notification's message |
|
132 | - * @param string $title The notification's title |
|
133 | 133 | * @param array $options |
134 | 134 | */ |
135 | 135 | public function info($text, array $options = []) |
@@ -140,8 +140,6 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Shortcut for adding an error notification |
142 | 142 | * |
143 | - * @param string $message The notification's message |
|
144 | - * @param string $title The notification's title |
|
145 | 143 | * @param array $options |
146 | 144 | */ |
147 | 145 | public function error($text, array $options = []) |
@@ -152,8 +150,6 @@ discard block |
||
152 | 150 | /** |
153 | 151 | * Shortcut for adding a warning notification |
154 | 152 | * |
155 | - * @param string $message The notification's message |
|
156 | - * @param string $title The notification's title |
|
157 | 153 | * @param array $options |
158 | 154 | */ |
159 | 155 | public function warning($text, array $options = []) |
@@ -164,8 +160,6 @@ discard block |
||
164 | 160 | /** |
165 | 161 | * Shortcut for adding a success notification |
166 | 162 | * |
167 | - * @param string $message The notification's message |
|
168 | - * @param string $title The notification's title |
|
169 | 163 | * @param array $options |
170 | 164 | */ |
171 | 165 | public function success($text, array $options = []) |