summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_Hook.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /lib/private/legacy/OC_Hook.php
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-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.php8
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 = [];
}
}