Completed
Pull Request — master (#5)
by Jacob
03:37
created
src/StorageMetadataFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Persister.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use As3\Modlr\Persister\PersisterException;
10 10
 use As3\Modlr\Persister\PersisterInterface;
11 11
 use As3\Modlr\Store\Store;
12
-use Doctrine\MongoDB\Connection;
13 12
 
14 13
 /**
15 14
  * Persists and retrieves models to/from a MongoDB database.
Please login to merge, or discard this patch.
src/Query.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,6 @@  discard block
 block discarded – undo
57 57
      *
58 58
      * @param   EntityMetadata  $metadata
59 59
      * @param   Store           $store
60
-     * @param   array           $toInsert
61 60
      * @return  array|bool
62 61
      */
63 62
     public function executeDelete(EntityMetadata $metadata, Store $store, array $criteria)
@@ -148,8 +147,8 @@  discard block
 block discarded – undo
148 147
     /**
149 148
      * Gets standard database retrieval criteria for an inverse relationship.
150 149
      *
151
-     * @param   EntityMetadata  $metadata       The entity to retrieve database records for.
152 150
      * @param   string|array    $identifiers    The IDs to query.
151
+     * @param string $inverseField
153 152
      * @return  array
154 153
      */
155 154
     public function getInverseCriteria(EntityMetadata $owner, EntityMetadata $related, $identifiers, $inverseField)
Please login to merge, or discard this patch.