hanneskod /
readme-tester
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace hanneskod\readmetester\Runner; |
||
| 6 | |||
| 7 | use hanneskod\readmetester\Example\ExampleObj; |
||
| 8 | |||
| 9 | final class VoidOutcome implements OutcomeInterface |
||
| 10 | { |
||
| 11 | use OutcomeDefaultsTrait; |
||
| 12 | |||
| 13 | public function __construct( |
||
| 14 | private ExampleObj $example, |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 15 | ) {} |
||
| 16 | |||
| 17 | public function isVoid(): bool |
||
| 18 | { |
||
| 19 | return true; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function mustBeHandled(): bool |
||
| 23 | { |
||
| 24 | return false; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getContent(): string |
||
| 28 | { |
||
| 29 | return ''; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getDescription(): string |
||
| 33 | { |
||
| 34 | return 'void outcome'; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |