style(legacy): fix code format with php-cs-fixer (#1674)

This commit is contained in:
Jonas L 2022-03-14 11:15:04 +01:00 committed by GitHub
parent e1dc69af9e
commit 69d8eae845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 1163 additions and 1163 deletions

View file

@ -30,12 +30,12 @@ class LengthFormatter
}
$minutes = $pieces[1];
//length is less than 1 hour
// length is less than 1 hour
if (!isset($hours)) {
if (intval($minutes) !== 0) {
$minutes = ltrim($minutes, '0');
}
//length is less than 1 minute
// length is less than 1 minute
else {
unset($minutes);
}

View file

@ -42,7 +42,7 @@ class TimeFilledFormatter
$perfect = false;
}
//0 over/under lap of content.
// 0 over/under lap of content.
if ($perfect === true) {
$formatted = '+ 0s';
}