1 | <?php |
||
10 | class PayloadAccessor implements PayloadAccessorInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $payload; |
||
16 | |||
17 | /** |
||
18 | * @var \Gandung\JWT\ValidatorInterface |
||
19 | */ |
||
20 | private $validator; |
||
21 | |||
22 | public function __construct($payload) |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getIssuedBy(): string |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getRelatedTo(): string |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function getIntendedFor(): string |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function getExpireAt(): \DateTimeInterface |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function getCanOnlyBeUsedAfter(): \DateTimeInterface |
||
100 | |||
101 | /** |
||
102 | * {@inheritdoc} |
||
103 | */ |
||
104 | public function getIssuedAt(): \DateTimeInterface |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function getIdentifiedBy(): string |
||
130 | |||
131 | /** |
||
132 | * {@inheritdoc} |
||
133 | */ |
||
134 | public function get(): array |
||
138 | |||
139 | /** |
||
140 | * Configure validator object. |
||
141 | * |
||
142 | * @param array $constraints |
||
143 | * @return void |
||
144 | */ |
||
145 | private function configureValidator($constraints = []) |
||
153 | } |
||
154 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.