| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Category { |
||
| 23 | /** |
||
| 24 | * Physical. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | const PHYSICAL = 'PHYSICAL'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Digital. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | const DIGITAL = 'DIGITAL'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Transform an OmniKassa 2.0 status to Pronamic Pay status. |
||
| 39 | * |
||
| 40 | * @param string $status OmniKassa 2.0 status. |
||
| 41 | * @return string|null |
||
| 42 | */ |
||
| 43 | public static function transform( $type ) { |
||
| 58 |