1 | <?php |
||
8 | class WebhookFailed extends Exception |
||
9 | { |
||
10 | public static function missingSignature() |
||
11 | { |
||
12 | return new static('The request did not contain a header named `Stripe-Signature`'); |
||
13 | } |
||
14 | |||
15 | public static function invalidSignature($signature) |
||
19 | |||
20 | public static function signingSecretNotSet() |
||
24 | |||
25 | public static function jobClassDoesNotExist(string $jobClass, StripeWebhookCall $webhookCall) |
||
29 | |||
30 | public static function missingType(StripeWebhookCall $webhookCall) |
||
34 | |||
35 | public function render($request) |
||
39 | } |
||
40 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.