summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-11 21:51:30 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:08:14 +0100
commit87b548ed91c03f051a93cc39bf94650922c1f55f (patch)
tree1c2a03d338f3c9a9e729b08d66c83ef9a55782f2 /lib/private/helper.php
parenta7ae2e874a28aed2c190840634db50a19ab1d2e7 (diff)
downloadnextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.tar.gz
nextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.zip
Fix all PHPDoc types and variable names, in /lib
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index ae957846082..12d82f6fb45 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -32,7 +32,7 @@ class OC_Helper {
/**
* @brief Creates an url using a defined route
- * @param $route
+ * @param string $route
* @param array $parameters
* @return
* @internal param array $args with param=>value, will be appended to the returned url
@@ -495,7 +495,7 @@ class OC_Helper {
/**
* detect if a given program is found in the search PATH
*
- * @param $name
+ * @param string $name
* @param bool $path
* @internal param string $program name
* @internal param string $optional search path, defaults to $PATH
@@ -670,8 +670,8 @@ class OC_Helper {
/**
* Adds a suffix to the name in case the file exists
*
- * @param $path
- * @param $filename
+ * @param string $path
+ * @param string $filename
* @return string
*/
public static function buildNotExistingFileName($path, $filename) {
@@ -682,8 +682,8 @@ class OC_Helper {
/**
* Adds a suffix to the name in case the file exists
*
- * @param $path
- * @param $filename
+ * @param string $path
+ * @param string $filename
* @return string
*/
public static function buildNotExistingFileNameForView($path, $filename, \OC\Files\View $view) {
@@ -775,7 +775,7 @@ class OC_Helper {
/**
* @brief replaces a copy of string delimited by the start and (optionally) length parameters with the string given in replacement.
*
- * @param $string
+ * @param string $string
* @param string $replacement The replacement string.
* @param int $start If start is positive, the replacing will begin at the start'th offset into string. If start is negative, the replacing will begin at the start'th character from the end of string.
* @param int $length Length of the part to be replaced