@@ -445,8 +445,8 @@ |
||
445 | 445 | /** |
446 | 446 | * Gets standard database retrieval criteria for an inverse relationship. |
447 | 447 | * |
448 | - * @param EntityMetadata $metadata The entity to retrieve database records for. |
|
449 | 448 | * @param string|array $identifiers The IDs to query. |
449 | + * @param string $inverseField |
|
450 | 450 | * @return array |
451 | 451 | */ |
452 | 452 | protected function getInverseCriteria(EntityMetadata $owner, EntityMetadata $related, $identifiers, $inverseField) |
@@ -6,11 +6,8 @@ |
||
6 | 6 | use As3\Modlr\Models\Model; |
7 | 7 | use As3\Modlr\Models\Collection; |
8 | 8 | use As3\Modlr\Metadata\EntityMetadata; |
9 | -use As3\Modlr\Metadata\AttributeMetadata; |
|
10 | -use As3\Modlr\Metadata\RelationshipMetadata; |
|
11 | 9 | use As3\Modlr\Persister\PersisterInterface; |
12 | 10 | use As3\Modlr\Persister\PersisterException; |
13 | -use As3\Modlr\Persister\Record; |
|
14 | 11 | use Doctrine\MongoDB\Connection; |
15 | 12 | use \MongoId; |
16 | 13 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * Constructor. |
25 | 25 | * |
26 | - * @param EntityUtility $entityUtl |
|
26 | + * @param EntityUtility $entityUtil |
|
27 | 27 | */ |
28 | 28 | public function __construct(EntityUtility $entityUtil) |
29 | 29 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use As3\Modlr\Exception\MetadataException; |
6 | 6 | use As3\Modlr\Metadata\EntityMetadata; |
7 | -use As3\Modlr\Metadata\Interfaces\StorageLayerInterface; |
|
8 | 7 | use As3\Modlr\Metadata\Interfaces\StorageMetadataFactoryInterface; |
9 | 8 | use As3\Modlr\Util\EntityUtility; |
10 | 9 |