Apply fixes from StyleCI (#12117)

* Apply fixes from StyleCI

* Disable style check
This commit is contained in:
Jellyfrog
2020-09-21 14:54:51 +02:00
committed by GitHub
parent 8ec9183df5
commit 77c531527c
752 changed files with 6238 additions and 5833 deletions

View File

@@ -61,7 +61,7 @@ class Fping
$interval,
'-t',
max($timeout, $interval),
$host
$host,
]);
$process = app()->make(Process::class, ['command' => $cmd]);
@@ -79,12 +79,12 @@ class Fping
}
$response = [
'xmt' => (int)$xmt,
'rcv' => (int)$rcv,
'loss' => (int)$loss,
'min' => (float)$min,
'max' => (float)$max,
'avg' => (float)$avg,
'xmt' => (int) $xmt,
'rcv' => (int) $rcv,
'loss' => (int) $loss,
'min' => (float) $min,
'max' => (float) $max,
'avg' => (float) $avg,
'dup' => substr_count($output, 'duplicate'),
'exitcode' => $process->getExitCode(),
];