summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-02 17:53:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:31 +0200
commit111fbabfb4772310cfae7037dfc3b71dcb881cc5 (patch)
tree80f11af29b391032f565f00aa831c23024c4abe6 /lib/public/util.php
parentb9e4e61759b4cc3cdf5c0cabd8e5a8d6828d5528 (diff)
downloadnextcloud-server-111fbabfb4772310cfae7037dfc3b71dcb881cc5.tar.gz
nextcloud-server-111fbabfb4772310cfae7037dfc3b71dcb881cc5.zip
PHPDoc cleanup - clean code \o/
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 37cb1b54485..721bcaadb62 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -394,18 +394,19 @@ class Util {
/**
* connects a function to a hook
- * @param string $signalclass class name of emitter
- * @param string $signalname name of signal
- * @param string $slotclass class name of slot
- * @param string $slotname name of slot
+ *
+ * @param string $signalClass class name of emitter
+ * @param string $signalName name of signal
+ * @param string|object $slotClass class name of slot
+ * @param string $slotName name of slot
* @return bool
*
* This function makes it very easy to connect to use hooks.
*
* TODO: write example
*/
- static public function connectHook( $signalclass, $signalname, $slotclass, $slotname ) {
- return(\OC_Hook::connect( $signalclass, $signalname, $slotclass, $slotname ));
+ static public function connectHook($signalClass, $signalName, $slotClass, $slotName ) {
+ return(\OC_Hook::connect($signalClass, $signalName, $slotClass, $slotName ));
}
/**