@@ -180,7 +180,7 @@ |
||
| 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 | */ |
@@ -187,7 +187,7 @@ |
||
| 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]); |