summaryrefslogtreecommitdiffstats
path: root/lib/private/template
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-05-19 17:50:53 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-05-19 17:50:53 +0200
commitdc36d3095314db8d88c2ec1005d99af595c119da (patch)
tree9de515019d7ebae43a545e5dc4eb522ef71dbe9c /lib/private/template
parent95741f3936501e3ad6aeb26f93eeb28f9decc273 (diff)
downloadnextcloud-server-dc36d3095314db8d88c2ec1005d99af595c119da.tar.gz
nextcloud-server-dc36d3095314db8d88c2ec1005d99af595c119da.zip
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
Diffstat (limited to 'lib/private/template')
-rw-r--r--lib/private/template/base.php10
-rw-r--r--lib/private/template/functions.php14
-rw-r--r--lib/private/template/resourcelocator.php2
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/private/template/base.php b/lib/private/template/base.php
index 3d7c685c1cf..dbdfce24324 100644
--- a/lib/private/template/base.php
+++ b/lib/private/template/base.php
@@ -59,7 +59,7 @@ class Base {
}
/**
- * @brief Assign variables
+ * Assign variables
* @param string $key key
* @param array|bool|integer|string $value value
* @return bool
@@ -75,7 +75,7 @@ class Base {
}
/**
- * @brief Appends a variable
+ * Appends a variable
* @param string $key key
* @param mixed $value value
* @return boolean|null
@@ -94,7 +94,7 @@ class Base {
}
/**
- * @brief Prints the proceeded template
+ * Prints the proceeded template
* @return bool
*
* This function proceeds the template and prints its output.
@@ -111,7 +111,7 @@ class Base {
}
/**
- * @brief Process the template
+ * Process the template
* @return string
*
* This function processes the template.
@@ -121,7 +121,7 @@ class Base {
}
/**
- * @brief doing the actual work
+ * doing the actual work
* @param string $file
* @return string content
*
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php
index 3f5312c0a7b..46e48274001 100644
--- a/lib/private/template/functions.php
+++ b/lib/private/template/functions.php
@@ -24,7 +24,7 @@ function print_unescaped($string) {
}
/**
- * @brief make OC_Helper::linkTo available as a simple function
+ * make OC_Helper::linkTo available as a simple function
* @param string $app app
* @param string $file file
* @param array $args array with param=>value, will be appended to the returned url
@@ -45,7 +45,7 @@ function link_to_docs($key) {
}
/**
- * @brief make OC_Helper::imagePath available as a simple function
+ * make OC_Helper::imagePath available as a simple function
* @param string $app app
* @param string $image image
* @return string link to the image
@@ -57,7 +57,7 @@ function image_path( $app, $image ) {
}
/**
- * @brief make OC_Helper::mimetypeIcon available as a simple function
+ * make OC_Helper::mimetypeIcon available as a simple function
* @param string $mimetype mimetype
* @return string link to the image
*
@@ -68,7 +68,7 @@ function mimetype_icon( $mimetype ) {
}
/**
- * @brief make preview_icon available as a simple function
+ * make preview_icon available as a simple function
* Returns the path to the preview of the image.
* @param string $path path of file
* @return link to the preview
@@ -87,7 +87,7 @@ function publicPreview_icon ( $path, $token ) {
}
/**
- * @brief make OC_Helper::humanFileSize available as a simple function
+ * make OC_Helper::humanFileSize available as a simple function
* @param int $bytes size in bytes
* @return string size as string
*
@@ -98,7 +98,7 @@ function human_file_size( $bytes ) {
}
/**
- * @brief Strips the timestamp of its time value
+ * Strips the timestamp of its time value
* @param int $timestamp UNIX timestamp to strip
* @return $timestamp without time value
*/
@@ -109,7 +109,7 @@ function strip_time($timestamp){
}
/**
- * @brief Formats timestamp relatively to the current time using
+ * Formats timestamp relatively to the current time using
* a human-friendly format like "x minutes ago" or "yesterday"
* @param int $timestamp timestamp to format
* @param int $fromTime timestamp to compare from, defaults to current time
diff --git a/lib/private/template/resourcelocator.php b/lib/private/template/resourcelocator.php
index 900aa6a8f08..7976c415922 100644
--- a/lib/private/template/resourcelocator.php
+++ b/lib/private/template/resourcelocator.php
@@ -52,7 +52,7 @@ abstract class ResourceLocator {
}
/*
- * @brief append the $file resource if exist at $root
+ * append the $file resource if exist at $root
* @param string $root path to check
* @param string $file the filename
* @param string|null $webroot base for path, default map $root to $webroot