diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-05 15:12:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-05 20:25:24 +0200 |
commit | d9015a8c94bfd71fe484618a06d276701d3bf9ff (patch) | |
tree | 3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /lib/private/legacy/OC_Hook.php | |
parent | d357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff) | |
download | nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip |
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy/OC_Hook.php')
-rw-r--r-- | lib/private/legacy/OC_Hook.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_Hook.php b/lib/private/legacy/OC_Hook.php index 1da03df3a1f..d6062f30fbd 100644 --- a/lib/private/legacy/OC_Hook.php +++ b/lib/private/legacy/OC_Hook.php @@ -128,15 +128,15 @@ class OC_Hook { * @param string $signalClass * @param string $signalName */ - public static function clear($signalClass='', $signalName='') { + public static function clear($signalClass = '', $signalName = '') { if ($signalClass) { if ($signalName) { - self::$registered[$signalClass][$signalName]=[]; + self::$registered[$signalClass][$signalName] = []; } else { - self::$registered[$signalClass]=[]; + self::$registered[$signalClass] = []; } } else { - self::$registered=[]; + self::$registered = []; } } |