@@ -100,9 +100,9 @@ discard block |
||
100 | 100 | * |
101 | 101 | * @param string $type Could be error, info, success, or warning. |
102 | 102 | * @param string $text The notification's message |
103 | - * @param string $title The notification's title |
|
104 | 103 | * @param array $options |
105 | 104 | * @param bool $onlyNextRequest if true(default), se the notification in session only for the next request |
105 | + * @param integer $timeout |
|
106 | 106 | * |
107 | 107 | */ |
108 | 108 | public function add($theme, $timeout, $type, $layout, $text, array $options = [], bool $onlyNextRequest = true) |
@@ -130,8 +130,6 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Shortcut for adding an info notification |
132 | 132 | * |
133 | - * @param string $message The notification's message |
|
134 | - * @param string $title The notification's title |
|
135 | 133 | * @param array $options |
136 | 134 | */ |
137 | 135 | public function info($text, array $options = []) |
@@ -146,8 +144,6 @@ discard block |
||
146 | 144 | /** |
147 | 145 | * Shortcut for adding an error notification |
148 | 146 | * |
149 | - * @param string $message The notification's message |
|
150 | - * @param string $title The notification's title |
|
151 | 147 | * @param array $options |
152 | 148 | */ |
153 | 149 | public function error($text, array $options = []) |
@@ -162,8 +158,6 @@ discard block |
||
162 | 158 | /** |
163 | 159 | * Shortcut for adding a warning notification |
164 | 160 | * |
165 | - * @param string $message The notification's message |
|
166 | - * @param string $title The notification's title |
|
167 | 161 | * @param array $options |
168 | 162 | */ |
169 | 163 | public function warning($text, array $options = []) |
@@ -178,8 +172,6 @@ discard block |
||
178 | 172 | /** |
179 | 173 | * Shortcut for adding a success notification |
180 | 174 | * |
181 | - * @param string $message The notification's message |
|
182 | - * @param string $title The notification's title |
|
183 | 175 | * @param array $options |
184 | 176 | */ |
185 | 177 | public function success($text, array $options = []) |
@@ -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 | { |