1 | <?php |
||
19 | final class RotatableJWKSet extends StorableJWKSet implements RotatableJWKSetInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | private $ttl; |
||
25 | |||
26 | /** |
||
27 | * RotatableJWKSet constructor. |
||
28 | * |
||
29 | * @param string $filename |
||
30 | * @param array $parameters |
||
31 | * @param int $nb_keys |
||
32 | * @param int $ttl |
||
33 | */ |
||
34 | public function __construct($filename, array $parameters, $nb_keys, $ttl) |
||
41 | |||
42 | /** |
||
43 | * @return \Jose\Object\JWKSetInterface |
||
44 | */ |
||
45 | protected function getJWKSet() |
||
64 | |||
65 | /** |
||
66 | * @return int|null |
||
67 | */ |
||
68 | private function getFileLastModificationTime() |
||
74 | } |
||
75 |
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.