| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class Browser extends AbstractDataWithVersion |
||
| 18 | { |
||
| 19 | /** @var string Browser type */ |
||
| 20 | protected $type; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get browser type |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function getType(): string |
||
| 27 | { |
||
| 28 | return $this->type; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $type Browser type |
||
| 33 | */ |
||
| 34 | public function setType(string $type) |
||
| 37 | } |
||
| 38 | } |