style: fix php-cs-fixer linting (#1575)
This commit is contained in:
parent
b43cb62a2e
commit
ae5746d26d
3 changed files with 3 additions and 3 deletions
|
@ -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'));
|
||||
|
|
|
@ -213,7 +213,7 @@ class Application_Model_Systemstatus
|
|||
foreach ($musicDirs as $md) {
|
||||
$totalSpace = disk_total_space($md->getDirectory());
|
||||
if (!isset($partitions[$totalSpace])) {
|
||||
$partitions[$totalSpace] = new StdClass();
|
||||
$partitions[$totalSpace] = new stdClass();
|
||||
$partitions[$totalSpace]->totalSpace = $totalSpace;
|
||||
$partitions[$totalSpace]->totalFreeSpace = disk_free_space($md->getDirectory());
|
||||
$partitions[$totalSpace]->usedSpace = $totalSpace - $partitions[$totalSpace]->totalFreeSpace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue