style: fix php-cs-fixer linting (#1575)

This commit is contained in:
Jonas L 2022-02-08 10:14:59 +01:00 committed by GitHub
parent b43cb62a2e
commit ae5746d26d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1219,7 +1219,7 @@ SQL;
*/
private static function getPercentScheduled($p_starts, $p_ends, $p_time_filled)
{
$utcTimezone = new DatetimeZone('UTC');
$utcTimezone = new DateTimeZone('UTC');
$startDt = new DateTime($p_starts, $utcTimezone);
$endDt = new DateTime($p_ends, $utcTimezone);
$durationSeconds = intval($endDt->format('U')) - intval($startDt->format('U'));