mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-25 19:03:14 +01:00
style: apply K&R + tab formatting across the codebase (make cs-fix)
Mechanical, behaviour-preserving reformat produced by 'make cs-fix' under the new build/phpcs.xml.dist ruleset: K&R braces, tab indentation, and the other whitespace normalisations. No logic changes.
This commit is contained in:
@@ -18,18 +18,18 @@ use XcVm\Domain\Server\ServerRepository;
|
||||
*/
|
||||
|
||||
class RtmpMonitorController extends BaseAdminController {
|
||||
public function index() {
|
||||
$this->requirePermission();
|
||||
public function index() {
|
||||
$this->requirePermission();
|
||||
|
||||
global $rServers;
|
||||
global $rServers;
|
||||
|
||||
if (!RequestManager::has('server') || !isset($rServers[RequestManager::get('server')])) {
|
||||
RequestManager::update('server', SERVER_ID);
|
||||
}
|
||||
if (!RequestManager::has('server') || !isset($rServers[RequestManager::get('server')])) {
|
||||
RequestManager::update('server', SERVER_ID);
|
||||
}
|
||||
|
||||
$rRTMPInfo = ServerRepository::getRTMPStats(RequestManager::get('server'));
|
||||
$rRTMPInfo = ServerRepository::getRTMPStats(RequestManager::get('server'));
|
||||
|
||||
$this->setTitle('RTMP Monitor');
|
||||
$this->render('rtmp_monitor', compact('rRTMPInfo'));
|
||||
}
|
||||
$this->setTitle('RTMP Monitor');
|
||||
$this->render('rtmp_monitor', compact('rRTMPInfo'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user