Completed
Pull Request — master (#6)
by Florian
02:37
created
Block/Adminhtml/Config/Form/Field/KlarnaStoreId.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @param  \Magento\Backend\Block\Template\Context      $context
52 52
      * @param  \Magento\Framework\Data\Form\Element\Factory $elementFactory
53
-     * @param  \Payone\Core\Model\Source\TransactionStatus  $klarnaCountries
53
+     * @param  \Payone\Core\Model\Source\KlarnaCountry  $klarnaCountries
54 54
      * @param  array                                        $data
55 55
      * @return void
56 56
      */
Please login to merge, or discard this patch.
Block/Onepage/Debit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Returns the mandate text
68 68
      *
69
-     * @return string|bool
69
+     * @return string|false
70 70
      */
71 71
     public function getMandateText()
72 72
     {
Please login to merge, or discard this patch.
Controller/Onepage/Redirect.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@
 block discarded – undo
43 43
      *
44 44
      * @param  \Magento\Framework\App\Action\Context $context
45 45
      * @param  \Magento\Checkout\Model\Session       $checkoutSession
46
-     * @param  \Magento\Framework\Url\Helper\Data    $urlHelper
47 46
      * @return void
48 47
      */
49 48
     public function __construct(
Please login to merge, or discard this patch.
Controller/Paypal/Returned.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     /**
79 79
      * Redirect to payment-provider or to success page
80 80
      *
81
-     * @return void
81
+     * @return \Magento\Framework\Controller\Result\Redirect
82 82
      */
83 83
     public function execute()
84 84
     {
Please login to merge, or discard this patch.
Helper/Api.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -142,6 +142,7 @@
 block discarded – undo
142 142
     /**
143 143
      * Generate the request url out of the params and die api url
144 144
      *
145
+     * @param string $sApiUrl
145 146
      * @return string
146 147
      */
147 148
     public function getRequestUrl($aParameters, $sApiUrl)
Please login to merge, or discard this patch.
Helper/Country.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * Get country name by its ISO2 abbreviation
82 82
      *
83 83
      * @param  string $sCountryCode
84
-     * @return string|bool
84
+     * @return string|false
85 85
      */
86 86
     public function getCountryNameByIso2($sCountryCode)
87 87
     {
Please login to merge, or discard this patch.
Helper/Customer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,6 @@
 block discarded – undo
102 102
     /**
103 103
      * Get the region object for the state and country given by PayPal
104 104
      *
105
-     * @param  array $aResponse
106 105
      * @return Region|bool
107 106
      */
108 107
     public function getRegion($sCountry, $sState)
Please login to merge, or discard this patch.
Helper/Order.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Return the order related to the given TransactionStatus
97 97
      *
98
+     * @param string $sTxid
98 99
      * @return SalesOrder|null
99 100
      */
100 101
     public function getOrderByTxid($sTxid)
@@ -160,7 +161,6 @@  discard block
 block discarded – undo
160 161
      * Fill billing and shipping addresses with the needed information from the response
161 162
      *
162 163
      * @param  Address $oAddress
163
-     * @param  array   $aResponse
164 164
      * @return Address
165 165
      */
166 166
     public function fillSingleAddress(Address $oAddress, $sFirstname, $sLastname, $sStreet, $sCity, $sZip, $sCountry, $sState)
Please login to merge, or discard this patch.
Helper/Toolkit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
      *
182 182
      * @param  double $dPrice    price of any sort
183 183
      * @param  int    $iDecimals number of digits behind the decimal point
184
-     * @return double
184
+     * @return string
185 185
      */
186 186
     public function formatNumber($dPrice, $iDecimals = 2)
187 187
     {
Please login to merge, or discard this patch.