Passed
Push — develop ( af666f...c1c65f )
by Jens
07:52
created
Core/Request/Payments/Command/PaymentChangeTransactionTimestampAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param string $transactionId
50 50
      * @param \DateTime $timestamp
51 51
      * @param Context|callable $context
52
-     * @return PaymentAddTransactionAction
52
+     * @return PaymentChangeTransactionTimestampAction
53 53
      */
54 54
     public static function ofTransactionIdAndTimestamp($transactionId, \DateTime $timestamp, $context = null)
55 55
     {
Please login to merge, or discard this patch.
Request/ProductTypes/Command/ProductTypeChangeLocalizedEnumLabelAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param string $attributeName
45 45
      * @param LocalizedEnum $enum
46 46
      * @param Context|callable $context
47
-     * @return ProductTypeChangeLabelAction
47
+     * @return ProductTypeChangeLocalizedEnumLabelAction
48 48
      */
49 49
     public static function ofAttributeNameAndEnumValue($attributeName, LocalizedEnum $enum, $context = null)
50 50
     {
Please login to merge, or discard this patch.
Core/Request/ProductTypes/Command/ProductTypeChangePlainEnumLabelAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param string $attributeName
45 45
      * @param Enum $enum
46 46
      * @param Context|callable $context
47
-     * @return ProductTypeChangeLabelAction
47
+     * @return ProductTypeChangePlainEnumLabelAction
48 48
      */
49 49
     public static function ofAttributeNameAndEnumValue($attributeName, Enum $enum, $context = null)
50 50
     {
Please login to merge, or discard this patch.
Request/ProductTypes/Command/ProductTypeChangePlainEnumValueOrderAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param string $attributeName
45 45
      * @param EnumCollection $values
46 46
      * @param Context|callable $context
47
-     * @return ProductTypeAddPlainEnumValueAction
47
+     * @return ProductTypeChangePlainEnumValueOrderAction
48 48
      */
49 49
     public static function ofAttributeNameAndValues($attributeName, EnumCollection $values, $context = null)
50 50
     {
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.