diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/SemesterHoliday.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/SemesterHoliday.class.php')
| -rw-r--r-- | lib/models/SemesterHoliday.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/SemesterHoliday.class.php b/lib/models/SemesterHoliday.class.php index ee3d2bc..1751537 100644 --- a/lib/models/SemesterHoliday.class.php +++ b/lib/models/SemesterHoliday.class.php @@ -62,7 +62,7 @@ class SemesterHoliday extends SimpleORMap $ret = []; if ($timestamp_start < $timestamp_end) { foreach(self::getAll() as $holiday) { - if ($holiday->beginn >= $timestamp_start && $holiday->ende <= $timestamp_end) { + if ($holiday->beginn >= $timestamp_start && $holiday->ende <= $timestamp_end) { $ret[] = $holiday; } } @@ -92,7 +92,7 @@ class SemesterHoliday extends SimpleORMap { if (!is_array(self::$holiday_cache) || $force_reload) { self::$holiday_cache = []; - foreach(self::findBySql('1 ORDER BY beginn') as $holiday){ + foreach(self::findBySql('1 ORDER BY beginn') as $holiday) { self::$holiday_cache[$holiday->getId()] = $holiday; } } |
