ekinhbayar /
gitamp
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php declare(strict_types=1); |
||
| 2 | |||
| 3 | namespace ekinhbayar\GitAmp\Github; |
||
| 4 | |||
| 5 | class Token implements Credentials |
||
| 6 | { |
||
| 7 | private string $token; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 8 | |||
| 9 | 5 | public function __construct(string $token) |
|
| 10 | { |
||
| 11 | 5 | $this->token = $token; |
|
| 12 | } |
||
| 13 | |||
| 14 | 5 | public function getAuthenticationString(): string |
|
| 15 | { |
||
| 16 | 5 | return $this->token; |
|
| 17 | } |
||
| 18 | } |
||
| 19 |