Completed
Pull Request — master (#6)
by Antonio Oertel
03:40
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
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return Driver
74
+     * @return MongoDBClient
75 75
      */
76 76
     public function getConnection()
77 77
     {
Please login to merge, or discard this patch.
src/Driver/MongoDb/AbstractDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     {
82 82
         return array_combine(
83 83
             array_map(
84
-                function ($key) use ($prefix) {
84
+                function($key) use ($prefix) {
85 85
                     return "{$prefix}{$key}";
86 86
                 }, array_keys($array)),
87 87
             $array
Please login to merge, or discard this patch.