@@ -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; |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | |
| 419 | 419 | /** |
| 420 | 420 | * Trigger before find event |
| 421 | - * @return boolean |
|
| 421 | + * @return boolean|null |
|
| 422 | 422 | */ |
| 423 | 423 | private function _beforeFind() |
| 424 | 424 | { |
@@ -431,7 +431,7 @@ discard block |
||
| 431 | 431 | |
| 432 | 432 | /** |
| 433 | 433 | * Trigger before count event |
| 434 | - * @return boolean |
|
| 434 | + * @return boolean|null |
|
| 435 | 435 | */ |
| 436 | 436 | private function _beforeCount() |
| 437 | 437 | { |
@@ -444,7 +444,7 @@ discard block |
||
| 444 | 444 | |
| 445 | 445 | /** |
| 446 | 446 | * Trigger before exists event |
| 447 | - * @return boolean |
|
| 447 | + * @return boolean|null |
|
| 448 | 448 | */ |
| 449 | 449 | private function _beforeExists() |
| 450 | 450 | { |