| 1 | <?php |
||
| 19 | class TokenResolver extends BaseTokens implements ResolverInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param Readable $readable |
||
| 23 | * @param TokenInterface $token |
||
| 24 | */ |
||
| 25 | public function resolve(Readable $readable, TokenInterface $token): void |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param TokenInterface $token |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | private function info(TokenInterface $token): array |
||
| 48 | } |
||
| 49 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.