Completed
Pull Request — master (#5)
by Jacob
02:31
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/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.
src/Persister.php 1 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.