@@ -16,7 +16,6 @@ |
||
16 | 16 | use Exception; |
17 | 17 | use Maslosoft\Mangan\EntityManager; |
18 | 18 | use Maslosoft\Mangan\Events\Event; |
19 | -use Maslosoft\Mangan\Events\ModelEvent; |
|
20 | 19 | use Maslosoft\Mangan\Events\RestoreEvent; |
21 | 20 | use Maslosoft\Mangan\Events\TrashEvent; |
22 | 21 | use Maslosoft\Mangan\Finder; |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | /** |
364 | 364 | * Get properties which should be propagated. |
365 | 365 | * NOTE: This is cached, as it might be called numerous times |
366 | - * @param object $model |
|
366 | + * @param AnnotatedInterface $model |
|
367 | 367 | * @return bool[] |
368 | 368 | */ |
369 | 369 | private static function getPropagatedProperties($model) |
@@ -385,6 +385,9 @@ discard block |
||
385 | 385 | return self::$propagated[$key]; |
386 | 386 | } |
387 | 387 | |
388 | + /** |
|
389 | + * @param string $className |
|
390 | + */ |
|
388 | 391 | public static function getPartials($className) |
389 | 392 | { |
390 | 393 | if (!empty(self::$partials[$className])) |