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) public function pack(int $type)
{ {
switch($type) { switch ($type) {
case AlgorithmType::BRUTEFORCE: case AlgorithmType::BRUTEFORCE:
return $this->bruteforce(); return $this->bruteforce();
default: default:

View File

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

View File

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

View File

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