1 | <?php |
||
11 | class AccessToken implements AccessTokenEntityInterface |
||
12 | { |
||
13 | use AccessTokenTrait; |
||
14 | use EntityTrait; |
||
15 | use TokenEntityTrait; |
||
16 | |||
17 | /** |
||
18 | * Create a new token instance. |
||
19 | * |
||
20 | * @param string $userIdentifier |
||
21 | * @param array $scopes |
||
22 | * @param ClientEntityInterface $client |
||
23 | * |
||
24 | * @return void |
||
|
|||
25 | */ |
||
26 | public function __construct($userIdentifier, array $scopes, ClientEntityInterface $client) |
||
36 | } |
||
37 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.