Format code to a single space around binary operators

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2020-10-05 15:12:57 +02:00
committed by Morris Jobke
parent d357f4b10f
commit d9015a8c94
335 changed files with 1529 additions and 1529 deletions
+5 -5
View File
@@ -133,7 +133,7 @@ try {
if (!$pos = strpos($pathInfo, '/', 1)) {
$pos = strlen($pathInfo);
}
$service=substr($pathInfo, 1, $pos-1);
$service = substr($pathInfo, 1, $pos - 1);
$file = resolveService($service);
@@ -141,10 +141,10 @@ try {
throw new RemoteException('Path not found', 404);
}
$file=ltrim($file, '/');
$file = ltrim($file, '/');
$parts=explode('/', $file, 2);
$app=$parts[0];
$parts = explode('/', $file, 2);
$app = $parts[0];
// Load all required applications
\OC::$REQUESTEDAPP = $app;
@@ -153,7 +153,7 @@ try {
switch ($app) {
case 'core':
$file = OC::$SERVERROOT .'/'. $file;
$file = OC::$SERVERROOT .'/'. $file;
break;
default:
if (!\OC::$server->getAppManager()->isInstalled($app)) {