mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Fix switch catch spacing
This commit is contained in:
parent
6289761103
commit
7e11c3ede3
|
|
@ -75,7 +75,7 @@ class Backpack
|
|||
|
||||
public function pack(int $type)
|
||||
{
|
||||
switch($type) {
|
||||
switch ($type) {
|
||||
case AlgorithmType::BRUTEFORCE:
|
||||
return $this->bruteforce();
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -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 . '\'.',
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ final class Storage
|
|||
$env = $env::getInstance();
|
||||
|
||||
self::$registered[$stg] = $env;
|
||||
} catch(\Throwable $e) {
|
||||
} catch (\Throwable $e) {
|
||||
throw new \Exception();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user