Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-09-23 04:39:11 +0400
committerRobin Appelman <icewind@owncloud.com>2012-09-23 04:40:03 +0400
commit4131b205d42336157ca938b2835dd78766dc7d19 (patch)
treebaa5e0bee3f79921ee67af57245d38081301c5c1 /lib/hook.php
parentf71f731f1cfc3a0e0efa5e13759478c5fdb7f4fc (diff)
fix some more phpdoc
Diffstat (limited to 'lib/hook.php')
-rw-r--r--lib/hook.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/hook.php b/lib/hook.php
index 1bf80f604f6..26a53693748 100644
--- a/lib/hook.php
+++ b/lib/hook.php
@@ -9,11 +9,11 @@ class OC_Hook{
/**
* @brief connects a function to a hook
- * @param $signalclass class name of emitter
- * @param $signalname name of signal
- * @param $slotclass class name of slot
- * @param $slotname name of slot
- * @returns true/false
+ * @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
+ * @return bool
*
* This function makes it very easy to connect to use hooks.
*
@@ -38,11 +38,11 @@ class OC_Hook{
}
/**
- * @brief emitts a signal
- * @param $signalclass class name of emitter
- * @param $signalname name of signal
- * @param $params defautl: array() array with additional data
- * @returns true if slots exists or false if not
+ * @brief emits a signal
+ * @param string $signalclass class name of emitter
+ * @param string $signalname name of signal
+ * @param array $params defautl: array() array with additional data
+ * @return bool, true if slots exists or false if not
*
* Emits a signal. To get data from the slot use references!
*
@@ -68,8 +68,8 @@ class OC_Hook{
/**
* clear hooks
- * @param string signalclass
- * @param string signalname
+ * @param string $signalclass
+ * @param string $signalname
*/
static public function clear($signalclass='', $signalname='') {
if($signalclass) {