1 | <?php |
||
7 | class Mailgun extends BaseService |
||
8 | { |
||
9 | public function verify(Request $request): bool |
||
28 | |||
29 | public function headers(): array |
||
33 | |||
34 | /** |
||
35 | * Build the signature for verification |
||
36 | * |
||
37 | * @param string $timestamp |
||
38 | * @param string $token |
||
39 | * @return string |
||
40 | */ |
||
41 | protected function buildSignature(string $timestamp, string $token) |
||
49 | } |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.