Skip to content

Commit 4d5c93a

Browse files
committed
CS-137 Use PHP 5.3 array() syntax so tests pass
1 parent 68d4382 commit 4d5c93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/CIMCreateCardRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function createPaymentProfile(CIMCreateCardResponse $createCardResponse)
203203
$getProfileResponse = $this->makeGetProfileRequest($parameters);
204204

205205
// Check if there is a pre-existing profile for the given card numbers.
206-
$otherErrorCodes = ['E00039', 'E00042']; // For these error codes we should check for duplicate payment profiles
206+
$otherErrorCodes = array('E00039', 'E00042'); // For these codes we should check for duplicate payment profiles
207207
if (!$createPaymentProfileResponse->isSuccessful() &&
208208
in_array($createPaymentProfileResponse->getReasonCode(), $otherErrorCodes)
209209
) {

0 commit comments

Comments
 (0)