Exception handling

This commit is contained in:
David Bomba 2021-10-25 14:06:33 +11:00
parent 8a85428532
commit e64f4fda9a

View File

@ -185,7 +185,7 @@ class WePayPaymentDriver extends BaseDriver
} }
if (! isset($objectType)) { if (! isset($objectType)) {
throw new Exception('Could not find object id parameter'); throw new \Exception('Could not find object id parameter');
} }
if ($objectType == 'credit_card') { if ($objectType == 'credit_card') {