@@ -163,11 +163,11 @@ |
||
| 163 | 163 | * Call each filter and return array with details of the formatted content. |
| 164 | 164 | * |
| 165 | 165 | * @param string $text the text to filter. |
| 166 | - * @param array $filter array of filters to use. |
|
| 166 | + * @param string[] $filter array of filters to use. |
|
| 167 | 167 | * |
| 168 | 168 | * @throws mos/TextFilter/Exception when filterd does not exists. |
| 169 | 169 | * |
| 170 | - * @return array with the formatted text and additional details. |
|
| 170 | + * @return \stdClass with the formatted text and additional details. |
|
| 171 | 171 | */ |
| 172 | 172 | public function parse($text, $filter) |
| 173 | 173 | { |