@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Create instance of Metadata specifically designed for Mangan |
| 26 | - * @param IAnnotated $component |
|
| 26 | + * @param AnnotatedInterface $component |
|
| 27 | 27 | * @param MetaOptions $options |
| 28 | 28 | * @return ManganelMeta |
| 29 | 29 | */ |
@@ -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 | |