Completed
Pull Request — master (#7)
by Fábio da Silva
03:59
created
src/Mapper.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -335,6 +335,9 @@
 block discarded – undo
335 335
         }
336 336
     }
337 337
 
338
+    /**
339
+     * @param SplObjectStorage $entities
340
+     */
338 341
     protected function tryHydration($entities, $sub, $field, &$v)
339 342
     {
340 343
         $tableName = $entities[$sub]->getName();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
     {
177 177
         $query = $this->generateQuery($collection);
178 178
 
179
-        $withExtraList = (array)$withExtra;
179
+        $withExtraList = (array) $withExtra;
180 180
 
181 181
         $withExtraList = array_merge($withExtraList, $query);
182 182
 
Please login to merge, or discard this patch.
src/Driver/MongoDb/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      * @param Collection $collection
115 115
      * @param bool|false $prefix
116 116
      *
117
-     * @return array
117
+     * @return Collection
118 118
      */
119 119
     protected function getConditionArray(Collection $collection, $prefix = false)
120 120
     {
Please login to merge, or discard this patch.
src/Driver/DynamoDb/Style.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 {
9 9
     public function identifier($name)
10 10
     {
11
-        return '_'.parent::identifier($name);
11
+        return '_' . parent::identifier($name);
12 12
     }
13 13
 }
Please login to merge, or discard this patch.