Skip to content

Commit

Permalink
code style, return types
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Sep 19, 2023
1 parent 7b0e55a commit 8a4854c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions EventSubscriber/UserConfigurationSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ public function prepareUserProfileSettings(KernelEvent $event): void
if ($start === null) {
return;
}
$this->systemConfiguration->offsetSet('timesheet.rules.lockdown_period_start', $start);
$this->systemConfiguration->set('timesheet.rules.lockdown_period_start', $start);

Check failure on line 52 in EventSubscriber/UserConfigurationSubscriber.php

View workflow job for this annotation

GitHub Actions / Linting - PHP 8.1

Call to private method set() of class App\Configuration\SystemConfiguration.

$end = $user->getPreferenceValue('lockdown_period_end');
$this->systemConfiguration->offsetSet('timesheet.rules.lockdown_period_end', $end);
$this->systemConfiguration->set('timesheet.rules.lockdown_period_end', $end);

Check failure on line 55 in EventSubscriber/UserConfigurationSubscriber.php

View workflow job for this annotation

GitHub Actions / Linting - PHP 8.1

Call to private method set() of class App\Configuration\SystemConfiguration.

$grace = $user->getPreferenceValue('lockdown_grace_period');
$this->systemConfiguration->offsetSet('timesheet.rules.lockdown_grace_period', $grace);
$this->systemConfiguration->set('timesheet.rules.lockdown_grace_period', $grace);

Check failure on line 58 in EventSubscriber/UserConfigurationSubscriber.php

View workflow job for this annotation

GitHub Actions / Linting - PHP 8.1

Call to private method set() of class App\Configuration\SystemConfiguration.

$timezone = $user->getPreferenceValue('lockdown_period_timezone');
$this->systemConfiguration->offsetSet('timesheet.rules.lockdown_period_timezone', $timezone);
$this->systemConfiguration->set('timesheet.rules.lockdown_period_timezone', $timezone);

Check failure on line 61 in EventSubscriber/UserConfigurationSubscriber.php

View workflow job for this annotation

GitHub Actions / Linting - PHP 8.1

Call to private method set() of class App\Configuration\SystemConfiguration.
}
}
}

0 comments on commit 8a4854c

Please sign in to comment.