@@ -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; |
@@ -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 | { |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | class TypeNamer extends CollectionNamer |
| 14 | 14 | { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param \Maslosoft\Addendum\Interfaces\AnnotatedInterface $model |
|
| 18 | + */ |
|
| 16 | 19 | public static function nameType($model) |
| 17 | 20 | { |
| 18 | 21 | $enforcedType = ManganelMeta::create($model)->type()->type; |