| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 57 | public function postValidation() |
||
| 58 | { |
||
| 59 | /* |
||
| 60 | * Campo 04 (VL_CRED_UTIL) Validação: o valor informado no campo deve ser maior que “0” (zero). |
||
| 61 | */ |
||
| 62 | if ($this->values->vl_cred_util <= 0) { |
||
| 63 | throw new \InvalidArgumentException("[" . self::REG . "] O valor informado no campo " |
||
| 64 | ."VL_CRED_UTIL deve ser maior que “0” (zero)."); |
||
| 65 | } |
||
| 66 | } |
||
| 67 | } |
||
| 68 |