diff options
Diffstat (limited to 'lib/private/ocs.php')
-rw-r--r-- | lib/private/ocs.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/private/ocs.php b/lib/private/ocs.php index e067196cf11..41eb0b303ac 100644 --- a/lib/private/ocs.php +++ b/lib/private/ocs.php @@ -39,7 +39,10 @@ class OC_OCS { * @param string Parameter to read * @param string Variable type to format data * @param mixed Default value to return if the key is not found - * @return mixed Data or if the key is not found and no default is set it will exit with a 400 Bad request + * @param string $method + * @param string $key + * @param string $default + * @return string Data or if the key is not found and no default is set it will exit with a 400 Bad request */ public static function readData($method, $key, $type = 'raw', $default = null) { if ($method == 'get') { @@ -96,7 +99,7 @@ class OC_OCS { /** * generated some debug information to make it easier to find faild API calls - * @return debug data string + * @return string data string */ private static function getDebugOutput() { $txt=''; @@ -214,6 +217,9 @@ class OC_OCS { } } + /** + * @param string $node + */ public static function toXml($writer, $data, $node) { foreach($data as $key => $value) { if (is_numeric($key)) { |