summaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /lib/public/Util.php
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Util.php')
-rw-r--r--lib/public/Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 46d818fc497..5e805af4c40 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -336,7 +336,7 @@ class Util {
* TODO: write example
* @since 4.0.0
*/
- static public function connectHook($signalClass, $signalName, $slotClass, $slotName) {
+ public static function connectHook($signalClass, $signalName, $slotClass, $slotName) {
return \OC_Hook::connect($signalClass, $signalName, $slotClass, $slotName);
}
@@ -350,7 +350,7 @@ class Util {
* TODO: write example
* @since 4.0.0
*/
- static public function emitHook($signalclass, $signalname, $params = []) {
+ public static function emitHook($signalclass, $signalname, $params = []) {
return \OC_Hook::emit($signalclass, $signalname, $params);
}