These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | /* |
||
6 | * The MIT License (MIT) |
||
7 | * |
||
8 | * Copyright (c) 2014-2018 Spomky-Labs |
||
9 | * |
||
10 | * This software may be modified and distributed under the terms |
||
11 | * of the MIT license. See the LICENSE file for details. |
||
12 | */ |
||
13 | |||
14 | namespace OAuth2Framework\ServerBundle\Tests\TestBundle\Entity; |
||
15 | |||
16 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServer as ResourceServerInterface; |
||
17 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
||
18 | |||
19 | class ResourceServer implements ResourceServerInterface |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
20 | { |
||
21 | private $resourceServerId; |
||
22 | |||
23 | public function __construct(ResourceServerId $resourceServerId) |
||
24 | { |
||
25 | $this->resourceServerId = $resourceServerId; |
||
26 | } |
||
27 | |||
28 | public function getResourceServerId(): ResourceServerId |
||
29 | { |
||
30 | return $this->resourceServerId; |
||
31 | } |
||
32 | } |
||
33 |