Completed
Push — develop ( 19ea63...5ccdb5 )
by Jens
18:36 queued 07:29
created
src/Core/Request/Me/MePasswordChangeRequest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@
 block discarded – undo
43 43
     protected $newPassword;
44 44
 
45 45
     /**
46
-     * @param string $id
47 46
      * @param int $version
48 47
      * @param string $currentPassword
49 48
      * @param string $newPassword
Please login to merge, or discard this patch.
src/Core/Request/Payments/Command/PaymentAddTransactionAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 use Commercetools\Core\Model\Common\Context;
9 9
 use Commercetools\Core\Model\Payment\Transaction;
10 10
 use Commercetools\Core\Request\AbstractAction;
11
-use Commercetools\Core\Model\Customer\CustomerReference;
12
-use Commercetools\Core\Model\State\StateReference;
13 11
 
14 12
 /**
15 13
  * @package Commercetools\Core\Request\Payments\Command
Please login to merge, or discard this patch.
src/Core/Request/Products/Command/ProductAddAssetAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 namespace Commercetools\Core\Request\Products\Command;
7 7
 
8
-use Commercetools\Core\Model\Common\Asset;
9 8
 use Commercetools\Core\Model\Common\Context;
10 9
 use Commercetools\Core\Request\AbstractAction;
11 10
 use Commercetools\Core\Model\Common\AssetDraft;
Please login to merge, or discard this patch.
src/Core/Request/Products/Command/ProductSetAssetSourcesAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 namespace Commercetools\Core\Request\Products\Command;
7 7
 
8 8
 use Commercetools\Core\Model\Common\Context;
9
-use Commercetools\Core\Model\Common\LocalizedString;
10 9
 use Commercetools\Core\Request\AbstractAction;
11 10
 use Commercetools\Core\Model\Common\AssetSourceCollection;
12 11
 
Please login to merge, or discard this patch.
src/Core/Request/Products/Command/ProductSetPricesAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 namespace Commercetools\Core\Request\Products\Command;
7 7
 
8 8
 use Commercetools\Core\Model\Common\Context;
9
-use Commercetools\Core\Model\Common\PriceDraft;
10 9
 use Commercetools\Core\Request\AbstractAction;
11 10
 use Commercetools\Core\Model\Common\PriceDraftCollection;
12 11
 
Please login to merge, or discard this patch.
src/Core/Request/Reviews/Command/ReviewSetTargetAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use Commercetools\Core\Model\Common\Context;
9 9
 use Commercetools\Core\Request\AbstractAction;
10
-use Commercetools\Core\Model\Customer\CustomerReference;
11 10
 use Commercetools\Core\Model\Common\ResourceIdentifier;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
src/Core/Request/Types/Command/TypeAddFieldDefinitionAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Commercetools\Core\Model\Common\Context;
9 9
 use Commercetools\Core\Model\Type\FieldDefinition;
10 10
 use Commercetools\Core\Request\AbstractAction;
11
-use Commercetools\Core\Model\Common\LocalizedString;
12 11
 
13 12
 /**
14 13
  * @package Commercetools\Core\Request\Types\Command
Please login to merge, or discard this patch.
src/Core/Response/AbstractApiResponse.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         return (!in_array($statusCode, [200, 201]));
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $fieldName
109
+     */
107 110
     protected function getResponseField($fieldName, $default = '')
108 111
     {
109 112
         $result = $this->toArray();
Please login to merge, or discard this patch.
src/Commons/Helper/PriceFinder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
     private $customerGroup;
22 22
     private $channel;
23 23
 
24
+    /**
25
+     * @param string $country
26
+     */
24 27
     public function __construct(
25 28
         $currency,
26 29
         $country = null,
@@ -136,6 +139,9 @@  discard block
 block discarded – undo
136 139
         return is_null($price->getValidFrom()) && is_null($price->getValidUntil());
137 140
     }
138 141
 
142
+    /**
143
+     * @param string $field
144
+     */
139 145
     private function priceHas(Price $price, $field)
140 146
     {
141 147
         return !is_null($price->get($field));
Please login to merge, or discard this patch.