@@ -47,6 +47,9 @@ |
||
47 | 47 | */ |
48 | 48 | private $isIndexable = false; |
49 | 49 | |
50 | + /** |
|
51 | + * @param AnnotatedInterface $model |
|
52 | + */ |
|
50 | 53 | public function __construct($model) |
51 | 54 | { |
52 | 55 | $this->model = $model; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Elasticsearch\Client; |
12 | 12 | use Maslosoft\Addendum\Interfaces\AnnotatedInterface; |
13 | 13 | use Maslosoft\Mangan\Helpers\CollectionNamer; |
14 | -use Maslosoft\Mangan\Mangan; |
|
15 | 14 | use Maslosoft\Manganel\Exceptions\ManganelException; |
16 | 15 | use Maslosoft\Manganel\Meta\ManganelMeta; |
17 | 16 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Set currently used index |
39 | 39 | * @param string $index |
40 | - * @return static |
|
40 | + * @return IndexAwareInterface |
|
41 | 41 | */ |
42 | 42 | public function setIndex($index) |
43 | 43 | { |