| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Vcs |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $owner; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $token; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function getOwner(): string |
||
| 23 | { |
||
| 24 | return $this->owner; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $owner |
||
| 29 | * |
||
| 30 | * @return \Dandelion\Configuration\Vcs |
||
| 31 | */ |
||
| 32 | public function setOwner(string $owner): Vcs |
||
| 33 | { |
||
| 34 | $this->owner = $owner; |
||
| 35 | |||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getToken(): string |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $token |
||
| 49 | * |
||
| 50 | * @return \Dandelion\Configuration\Vcs |
||
| 51 | */ |
||
| 52 | public function setToken(string $token): Vcs |
||
| 57 | } |
||
| 58 | } |
||
| 59 |