@@ -406,7 +406,7 @@ |
||
406 | 406 | /** |
407 | 407 | * Get properties which should be propagated. |
408 | 408 | * NOTE: This is cached, as it might be called numerous times |
409 | - * @param object $model |
|
409 | + * @param AnnotatedInterface $model |
|
410 | 410 | * @return bool[] |
411 | 411 | */ |
412 | 412 | private static function getPropagatedProperties($model) |
@@ -15,8 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Maslosoft\Addendum\Interfaces\AnnotatedInterface; |
17 | 17 | use Maslosoft\Addendum\Utilities\ClassChecker; |
18 | -use Maslosoft\Hi5Edit\Models\Href; |
|
19 | -use Maslosoft\Mangan\Interfaces\EntityManagerInterface; |
|
20 | 18 | use Maslosoft\Mangan\Interfaces\Events\EventInterface; |
21 | 19 | use Maslosoft\Mangan\Meta\ManganMeta; |
22 | 20 | use ReflectionClass; |
@@ -111,6 +111,9 @@ |
||
111 | 111 | return array_sum($results) === count($results); |
112 | 112 | } |
113 | 113 | |
114 | + /** |
|
115 | + * @param string $className |
|
116 | + */ |
|
114 | 117 | public function getStoragePath(AnnotatedInterface $model, $className) |
115 | 118 | { |
116 | 119 | if(empty(self::$paths[$className])) |