@@ -38,8 +38,8 @@ |
||
38 | 38 | * |
39 | 39 | * @param int|string $id OPTIONAL $id Id is create if empty |
40 | 40 | * @param array|string $data OPTIONAL Data array |
41 | - * @param Type|string $type OPTIONAL Type name |
|
42 | - * @param Index|string $index OPTIONAL Index name |
|
41 | + * @param string $type OPTIONAL Type name |
|
42 | + * @param Index $index OPTIONAL Index name |
|
43 | 43 | */ |
44 | 44 | public function __construct($id = '', $data = [], $type = '', $index = '') |
45 | 45 | { |
@@ -192,7 +192,7 @@ |
||
192 | 192 | * the an array out of the class name (last part of the class name) |
193 | 193 | * and the params. |
194 | 194 | * |
195 | - * @return array Filter array |
|
195 | + * @return string Filter array |
|
196 | 196 | */ |
197 | 197 | public function toArray() |
198 | 198 | { |