style(legacy): fix code format with php-cs-fixer (#1674)
This commit is contained in:
parent
e1dc69af9e
commit
69d8eae845
111 changed files with 1163 additions and 1163 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue