@@ -1,7 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Maslosoft\Ilmatar\Components\Controller; |
|
| 4 | -use Maslosoft\Ilmatar\Widgets\Form\ActiveForm; |
|
| 5 | 3 | use Maslosoft\Mangan\Traits\I18NAbleTrait; |
| 6 | 4 | use Maslosoft\Zamm\DocBlock; |
| 7 | 5 | use Maslosoft\Zamm\Iterator; |
@@ -57,6 +57,7 @@ |
||
| 57 | 57 | * Class constructor |
| 58 | 58 | * @param AnnotatedInterface $model |
| 59 | 59 | * @param string $transformatorClass |
| 60 | + * @param ManganMeta $meta |
|
| 60 | 61 | */ |
| 61 | 62 | public function __construct(AnnotatedInterface $model, $transformatorClass = TransformatorInterface::class, $meta = null) |
| 62 | 63 | { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Maslosoft\Mangan\Interfaces\ActiveRecordInterface; |
| 17 | 17 | use Maslosoft\Mangan\Sanitizers\MongoObjectId; |
| 18 | -use Maslosoft\Mangan\Sanitizers\MongoStringId; |
|
| 19 | 18 | use Maslosoft\Mangan\Traits\CollectionNameTrait; |
| 20 | 19 | use Maslosoft\Mangan\Traits\EntityManagerTrait; |
| 21 | 20 | use Maslosoft\Mangan\Traits\FinderTrait; |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | /** |
| 81 | 81 | * Resets all scopes and criteria applied including default scope. |
| 82 | 82 | * |
| 83 | - * @return Document |
|
| 83 | + * @return AbstractScopeManager |
|
| 84 | 84 | * @since v1.0 |
| 85 | 85 | */ |
| 86 | 86 | public function resetScope() |