Fix switch catch spacing

This commit is contained in:
Dennis Eichhorn 2017-10-29 11:27:06 +01:00
parent 6289761103
commit 7e11c3ede3
4 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ class Backpack
public function pack(int $type)
{
switch($type) {
switch ($type) {
case AlgorithmType::BRUTEFORCE:
return $this->bruteforce();
default:

View File

@ -160,7 +160,7 @@ class L11nManager
if (!isset($this->language[$code][$module][$translation])) {
return 'ERROR';
}
} catch(\Exception $e) {
} catch (\Exception $e) {
FileLogger::getInstance()->warning(FileLogger::MSG_FULL, [
'message' => 'Undefined translation for \'' . $code . '/' . $module . '/' . $translation . '\'.',
]);

View File

@ -78,7 +78,7 @@ final class Storage
$env = $env::getInstance();
self::$registered[$stg] = $env;
} catch(\Throwable $e) {
} catch (\Throwable $e) {
throw new \Exception();
}
}

View File

@ -237,7 +237,7 @@ abstract class ViewAbstract implements \Serializable
if (is_array($includeData)) {
return json_encode($includeData);
}
} catch(\Throwable $e) {
} catch (\Throwable $e) {
$ob = '';
} finally {
return $ob;