| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class AcceptRejectUuidStatus extends MicroCatalog |
||
| 13 | { |
||
| 14 | 13 | public static function getEntriesArray(): array |
|
| 24 | 13 | ]; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function getEntryValueOnUndefined(): string |
|
| 28 | { |
||
| 29 | 2 | return 'Respuesta del SAT desconocida'; |
|
| 30 | } |
||
| 31 | |||
| 32 | 7 | public function getCode(): string |
|
| 35 | } |
||
| 36 | |||
| 37 | 3 | public function getMessage(): string |
|
| 40 | } |
||
| 41 | |||
| 42 | 3 | public function isSuccess(): bool |
|
| 47 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: