diff --git a/lib/Webhook.php b/lib/Webhook.php index 7f0fd510e..c5026ef5a 100644 --- a/lib/Webhook.php +++ b/lib/Webhook.php @@ -20,7 +20,7 @@ abstract class Webhook * timestamp and the current time * @return Event the Event instance * @throws Exception\UnexpectedValueException if the payload is not valid JSON, - * @throws Exception\SignatureVerification if the verification fails. + * @throws Exception\SignatureVerificationException if the verification fails. */ public static function constructEvent($payload, $sigHeader, $secret, $tolerance = self::DEFAULT_TOLERANCE) { diff --git a/lib/WebhookSignature.php b/lib/WebhookSignature.php index e43e2ec65..ccb42384f 100644 --- a/lib/WebhookSignature.php +++ b/lib/WebhookSignature.php @@ -8,7 +8,7 @@ abstract class WebhookSignature /** * Verifies the signature header sent by Stripe. Throws an - * Exception\SignatureVerification exception if the verification fails for + * Exception\SignatureVerificationException exception if the verification fails for * any reason. * * @param string $payload the payload sent by Stripe. @@ -17,7 +17,7 @@ abstract class WebhookSignature * @param string $secret secret used to generate the signature. * @param int $tolerance maximum difference allowed between the header's * timestamp and the current time - * @throws Exception\SignatureVerification if the verification fails. + * @throws Exception\SignatureVerificationException if the verification fails. * @return bool */ public static function verifyHeader($payload, $header, $secret, $tolerance = null)