Skip to content

Commit 73c517a

Browse files
committed
Add throws tag on validate method on CreditCard class
1 parent 24f1289 commit 73c517a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Omnipay/Common/CreditCard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ protected function setYearParameter($key, $value)
231231
* Generally if you want to validate the credit card yourself with custom error
232232
* messages, you should use your framework's validation library, not this method.
233233
*
234+
* @throws InvalidCreditCardException
234235
* @return void
235236
*/
236237
public function validate()

0 commit comments

Comments
 (0)