Completed
Push — master ( e8d007...b79c71 )
by Andrii
02:13
created
src/models/relations/Bucket.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param $rows
32
-     * @param $sourceKey
32
+     * @param string $sourceKey
33 33
      * @return static
34 34
      */
35 35
     public static function fromRows($rows, $sourceKey)
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * @param EntityInterface[] $entities
62 62
      * @param string $key the attribute name in $entity that represent this relation
63
-     * @param string $entityKey
63
+     * @param string $entityIdKey
64 64
      * @return $this
65 65
      */
66 66
     public function fill($entities, $key, $entityIdKey)
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
         return $this;
78 78
     }
79 79
 
80
+    /**
81
+     * @param string $relationName
82
+     */
80 83
     public function pour(&$rows, $relationName)
81 84
     {
82 85
         foreach ($rows as &$row) {
Please login to merge, or discard this patch.