Skip to content

Commit c71a3a1

Browse files
committed
Fixing length of reference to 50
Fixing length to 50 as described in ekyna/PayumMoneticoBundle#3
1 parent 1570491 commit c71a3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Api/Options/RequestResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct()
5353
->setAllowedValues('currency', Assert::currency())
5454
->setAllowedTypes('reference', 'string')
5555
->setAllowedValues('reference', function ($value) {
56-
return preg_match('~^[0-9A-Za-z]{1,12}$~', $value);
56+
return preg_match('~^[0-9A-Za-z]{1,50}$~', $value);
5757
});
5858

5959
$this

0 commit comments

Comments
 (0)