Completed
Pull Request — master (#5)
by Jacob
02:31
created
src/Persister.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -445,8 +445,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/StorageMetadataFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this 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/Formatter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@
 block discarded – undo
120 120
 
121 121
     /**
122 122
      * {@inheritDoc}
123
+     * @param string $strategy
123 124
      */
124 125
     public function getIdentifierDbValue($identifier, $strategy = null)
125 126
     {
Please login to merge, or discard this patch.
src/Hydrator.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,6 @@  discard block
 block discarded – undo
57 57
      * Processes multiple, raw MongoDB results and converts them into an array of standardized Record objects.
58 58
      *
59 59
      * @param   EntityMetadata  $metadata
60
-     * @param   array           $data
61 60
      * @param   Store           $store
62 61
      * @return  Record[]
63 62
      */
@@ -117,7 +116,6 @@  discard block
 block discarded – undo
117 116
      * Extracts the identifier and model type from a raw result and removes them from the source data.
118 117
      * Returns as a tuple.
119 118
      *
120
-     * @param   string  $key
121 119
      * @param   array   $data
122 120
      * @return  array
123 121
      * @throws  PersisterException
Please login to merge, or discard this patch.