mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-09-29 12:02:04 +02: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:
@@ -15,15 +15,15 @@ namespace XcVm\Public\Controllers\Admin;
|
||||
*/
|
||||
|
||||
class ServerOrderController extends BaseAdminController {
|
||||
public function index() {
|
||||
global $rServers;
|
||||
public function index() {
|
||||
global $rServers;
|
||||
|
||||
$this->requirePermission();
|
||||
$this->requirePermission();
|
||||
|
||||
$rOrderedServers = $rServers;
|
||||
array_multisort(array_column($rOrderedServers, 'order'), SORT_ASC, $rOrderedServers);
|
||||
$rOrderedServers = $rServers;
|
||||
array_multisort(array_column($rOrderedServers, 'order'), SORT_ASC, $rOrderedServers);
|
||||
|
||||
$this->setTitle('Server Order');
|
||||
$this->render('server_order', compact('rOrderedServers'));
|
||||
}
|
||||
$this->setTitle('Server Order');
|
||||
$this->render('server_order', compact('rOrderedServers'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user