| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class ChangeUserSetting implements ChangeUserSettingInterface |
||
| 9 | { |
||
| 10 | private UserSettingRepositoryInterface $userSettingRepository; |
||
| 11 | |||
| 12 | 4 | public function __construct(UserSettingRepositoryInterface $userSettingRepository) |
|
| 15 | } |
||
| 16 | |||
| 17 | 2 | public function change(UserInterface $user, UserSettingEnum $setting, string $value): void |
|
| 32 | } |
||
| 33 | |||
| 34 | 2 | public function reset(UserInterface $user, UserSettingEnum $setting): void |
|
| 43 |