| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | private function setPregunta(string $respuesta): string |
||
| 36 | { |
||
| 37 | if($this->existeRespuestaPositivaEnETS()) |
||
| 38 | { |
||
| 39 | if($this->verificarRespuesta($respuesta)) |
||
| 40 | { |
||
| 41 | return $respuesta; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | else |
||
| 45 | { |
||
| 46 | return 'No'; |
||
| 47 | } |
||
| 48 | |||
| 49 | throw new Exception("Error procesando respuesta", 1); |
||
| 50 | |||
| 87 | } |