1 | <?php |
||
17 | class HiamUserIdentity extends Model implements IdentityInterface |
||
18 | { |
||
19 | public $id; |
||
20 | public $login; |
||
21 | |||
22 | public $type; |
||
23 | public $state; |
||
24 | |||
25 | public $roles = []; |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function rules() |
||
40 | |||
41 | /** {@inheritdoc} */ |
||
42 | public static function findIdentity($id) |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public static function findIdentityByAccessToken($token, $type = null) |
||
65 | |||
66 | public static function requestHiam($path, $data) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function getId() |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getAuthKey() |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function validateAuthKey($authKey) |
||
106 | |||
107 | protected function getApp() |
||
111 | } |
||
112 |
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.