1 | <?php |
||
19 | trait UserTrait |
||
20 | { |
||
21 | use AbstractUserTrait { |
||
22 | doAuthentication as doAuthenticationTrait; |
||
23 | } |
||
24 | use HasApiTokensTrait, EntityTrait; |
||
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | 3 | public function getIdentifier() |
|
36 | |||
37 | public function doAuthentication() |
||
38 | { |
||
39 | $token = $this->token(); |
||
40 | $this->access_token = $token->getIdentifier(); |
||
41 | $this->access_jwt = $token->convertToJWT(app('hello.keys.private'))->__toString(); |
||
42 | $this->doAuthenticationTrait(); |
||
|
|||
43 | } |
||
44 | |||
45 | public function checkAccessToken() |
||
53 | |||
54 | 2 | protected function initIdentifier() |
|
58 | |||
59 | /** |
||
60 | * @return \ByTIC\Hello\Models\AccessTokens\Token|null |
||
61 | */ |
||
62 | protected function generateToken() |
||
70 | } |
||
71 |
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.