| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | class DocumentDetails |
||
| 32 | { |
||
| 33 | const TYPE_PAPER_TICKET = "PT"; |
||
| 34 | const TYPE_ELECTRONIC_TICKET = "ET"; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var int|string |
||
| 38 | */ |
||
| 39 | public $number; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * self::TYPE_* |
||
| 43 | * |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | public $type; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * DocumentDetails constructor. |
||
| 50 | * |
||
| 51 | * @param int|string $number |
||
| 52 | * @param string $type |
||
| 53 | */ |
||
| 54 | 105 | public function __construct($number, $type) |
|
| 60 |