| 1 | <?php |
||
| 13 | class AccessToken implements AccessTokenEntityInterface |
||
| 14 | { |
||
| 15 | use EntityTrait; |
||
| 16 | use AccessTokenTrait; |
||
| 17 | use TokenEntityTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new token instance. |
||
| 21 | * |
||
| 22 | * @param string $userIdentifier |
||
| 23 | * @param array $scopes |
||
| 24 | * @param \League\OAuth2\Server\Entities\ClientEntityInterface $client |
||
| 25 | * |
||
| 26 | * @return void |
||
|
|
|||
| 27 | */ |
||
| 28 | public function __construct($userIdentifier, array $scopes, ClientEntityInterface $client) |
||
| 38 | } |
||
| 39 |
Adding a
@returnannotation 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.