Completed
Push — master ( 6c4da9...442164 )
by Florian
14s queued 11s
created
Model/Plugins/MethodList.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     /**
181 181
      * Remove banned paymenttypes
182 182
      *
183
-     * @param  array $aPaymentMethods
183
+     * @param  MethodInterface[] $aPaymentMethods
184 184
      * @param  Quote $oQuote
185 185
      * @return array
186 186
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
     protected function removeBannedPaymentMethods($aPaymentMethods, Quote $oQuote)
188 188
     {
189 189
         $aBannedMethos = $this->getBannedPaymentMethods($oQuote);
190
-        for($i = 0; $i < count($aPaymentMethods); $i++) {
190
+        for ($i = 0; $i < count($aPaymentMethods); $i++) {
191 191
             $sCode = $aPaymentMethods[$i]->getCode();
192 192
             if (array_key_exists($sCode, $aBannedMethos) !== false) {
193 193
                 $iBannedUntil = strtotime($aBannedMethos[$sCode]);
Please login to merge, or discard this patch.