1 | <?php |
||
12 | class AuthCodeRepository implements AuthCodeRepositoryInterface |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | public function getNewAuthCode() |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function revokeAuthCode($codeId) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function isAuthCodeRevoked($codeId) |
||
49 | } |
||
50 |
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.