@@ -614,7 +614,7 @@ discard block |
||
614 | 614 | /** |
615 | 615 | * Take care of EventBeforeSave |
616 | 616 | * @see EventBeforeSave |
617 | - * @param $model |
|
617 | + * @param AnnotatedInterface $model |
|
618 | 618 | * @param null|ModelEvent $event |
619 | 619 | * @return boolean |
620 | 620 | */ |
@@ -636,7 +636,7 @@ discard block |
||
636 | 636 | /** |
637 | 637 | * Take care of EventAfterSave |
638 | 638 | * @see EventAfterSave |
639 | - * @param $model |
|
639 | + * @param AnnotatedInterface $model |
|
640 | 640 | * @param null|ModelEvent $event |
641 | 641 | */ |
642 | 642 | private function afterSave($model, $event = null) |
@@ -42,6 +42,9 @@ |
||
42 | 42 | private $_values = []; |
43 | 43 | private $_defaults = []; |
44 | 44 | |
45 | + /** |
|
46 | + * @param \Maslosoft\Addendum\Interfaces\AnnotatedInterface $model |
|
47 | + */ |
|
45 | 48 | public function __construct($model) |
46 | 49 | { |
47 | 50 | // This is to use get/set |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Maslosoft\Mangan\Helpers\PropertyMaker; |
17 | 17 | use Maslosoft\Mangan\Mangan; |
18 | -use Maslosoft\Mangan\Meta\DocumentTypeMeta; |
|
19 | 18 | use Maslosoft\Mangan\Meta\ManganMeta; |
20 | 19 | use Maslosoft\Mangan\Traits\Defaults\MongoClientOptions; |
21 | 20 |