Completed
Push — master ( fc2a6a...87c3e2 )
by Andrii
10:51
created
src/charge/ChargeRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use hiqdev\yii\DataMapper\expressions\CallExpression;
14 14
 use hiqdev\yii\DataMapper\expressions\HstoreExpression;
15 15
 use hiqdev\yii\DataMapper\components\EntityManagerInterface;
16
-use hiqdev\yii\DataMapper\query\Specification;
17 16
 use hiqdev\yii\DataMapper\repositories\BaseRepository;
18 17
 use hiqdev\php\billing\charge\Charge;
19 18
 use hiqdev\php\billing\charge\ChargeFactoryInterface;
Please login to merge, or discard this patch.
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.
src/sale/SaleRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use hiqdev\php\billing\sale\SaleFactoryInterface;
19 19
 use hiqdev\php\billing\sale\SaleRepositoryInterface;
20 20
 use hiqdev\php\billing\sale\SaleQuery;
21
-use hiqdev\php\billing\sale\Sale;
22 21
 
23 22
 class SaleRepository extends BaseRepository implements SaleRepositoryInterface
24 23
 {
Please login to merge, or discard this patch.