| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class ModifyCheckRegistrationSuccessEvent |
||
| 20 | { |
||
| 21 | public function __construct(private bool $success, private int $result) |
||
| 22 | { |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getSuccess(): bool |
||
| 28 | } |
||
| 29 | |||
| 30 | public function setSuccess(bool $success): void |
||
| 31 | { |
||
| 32 | $this->success = $success; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getResult(): int |
||
| 36 | { |
||
| 37 | return $this->result; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function setResult(int $result): void |
||
| 43 | } |
||
| 44 | } |
||
| 45 |