Commit 2e8ebcb5 authored by Franco Fichtner's avatar Franco Fichtner

src: style sweep

parent 8405ee77
...@@ -147,5 +147,4 @@ $di->set('router', function () { ...@@ -147,5 +147,4 @@ $di->set('router', function () {
$router->handle(); $router->handle();
return $router; return $router;
}); });
...@@ -149,7 +149,6 @@ $di->set('router', function () { ...@@ -149,7 +149,6 @@ $di->set('router', function () {
$router->handle(); $router->handle();
return $router; return $router;
}); });
// exception handling // exception handling
......
...@@ -272,6 +272,5 @@ class NetworkinsightController extends ApiControllerBase ...@@ -272,6 +272,5 @@ class NetworkinsightController extends ApiControllerBase
} else { } else {
return ""; return "";
} }
} }
} }
...@@ -200,7 +200,6 @@ class SystemhealthController extends ApiControllerBase ...@@ -200,7 +200,6 @@ class SystemhealthController extends ApiControllerBase
} }
return (["from" => $from_timestamp, "to" => $to_timestamp, "full_range" => $full_range, "data" => $archives]); return (["from" => $from_timestamp, "to" => $to_timestamp, "full_range" => $full_range, "data" => $archives]);
} }
/** /**
......
...@@ -203,7 +203,6 @@ class SettingsController extends ApiControllerBase ...@@ -203,7 +203,6 @@ class SettingsController extends ApiControllerBase
} else { } else {
return array(); return array();
} }
} }
/** /**
...@@ -263,7 +262,6 @@ class SettingsController extends ApiControllerBase ...@@ -263,7 +262,6 @@ class SettingsController extends ApiControllerBase
} }
} }
return $result; return $result;
} }
/** /**
......
...@@ -88,7 +88,6 @@ class SettingsController extends ApiControllerBase ...@@ -88,7 +88,6 @@ class SettingsController extends ApiControllerBase
} }
return $result; return $result;
} }
/** /**
......
...@@ -104,7 +104,6 @@ class LDAP implements IAuthConnector ...@@ -104,7 +104,6 @@ class LDAP implements IAuthConnector
if (!array_key_exists($attrName, $this->ldapSearchAttr)) { if (!array_key_exists($attrName, $this->ldapSearchAttr)) {
$this->ldapSearchAttr[] = $attrName; $this->ldapSearchAttr[] = $attrName;
} }
} }
/** /**
...@@ -323,6 +322,5 @@ class LDAP implements IAuthConnector ...@@ -323,6 +322,5 @@ class LDAP implements IAuthConnector
} }
return false; return false;
} }
} }
} }
...@@ -155,6 +155,5 @@ class Backend ...@@ -155,6 +155,5 @@ class Backend
} else { } else {
return 0; return 0;
} }
} }
} }
...@@ -82,7 +82,6 @@ class Config extends Singleton ...@@ -82,7 +82,6 @@ class Config extends Singleton
} }
return true; return true;
} }
/** /**
...@@ -350,7 +349,6 @@ class Config extends Singleton ...@@ -350,7 +349,6 @@ class Config extends Singleton
$dom->loadXML($dom->saveXML()); $dom->loadXML($dom->saveXML());
return $dom->saveXML(); return $dom->saveXML();
} }
/** /**
...@@ -530,7 +528,5 @@ class Config extends Singleton ...@@ -530,7 +528,5 @@ class Config extends Singleton
} else { } else {
throw new ConfigException("Unable to lock config"); throw new ConfigException("Unable to lock config");
} }
} }
} }
...@@ -59,7 +59,6 @@ class Shell ...@@ -59,7 +59,6 @@ class Shell
// init, set simulation mode / debug autoput // init, set simulation mode / debug autoput
$this->simulate = FactoryDefault::getDefault()->get('config')->globals->simulate_mode; $this->simulate = FactoryDefault::getDefault()->get('config')->globals->simulate_mode;
$this->debug = FactoryDefault::getDefault()->get('config')->globals->debug; $this->debug = FactoryDefault::getDefault()->get('config')->globals->debug;
} }
/** /**
......
...@@ -190,7 +190,6 @@ abstract class BaseModel ...@@ -190,7 +190,6 @@ abstract class BaseModel
$internal_data->addChildNode($xmlNode->getName(), $fieldObject); $internal_data->addChildNode($xmlNode->getName(), $fieldObject);
} }
} }
} }
/** /**
...@@ -371,7 +370,6 @@ abstract class BaseModel ...@@ -371,7 +370,6 @@ abstract class BaseModel
$this->internalData->addToXMLNode($xml->xpath($this->internal_mountpoint)[0]); $this->internalData->addToXMLNode($xml->xpath($this->internal_mountpoint)[0]);
return $xml; return $xml;
} }
/** /**
......
...@@ -241,7 +241,6 @@ abstract class BaseField ...@@ -241,7 +241,6 @@ abstract class BaseField
// not found // not found
return null; return null;
} }
} }
......
...@@ -121,7 +121,6 @@ class MenuSystem ...@@ -121,7 +121,6 @@ class MenuSystem
)); ));
} }
unset($ifarr); unset($ifarr);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment