summaryrefslogtreecommitdiffstats
path: root/lib/public/template.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
commitb330d07b51a983dc563a91244a3c83e691c9e97d (patch)
tree1142ec91b86d5da36e568ffcb4a25f5fd55b01fe /lib/public/template.php
parent81031984a6714feffc8b1a8e523988ab83f56515 (diff)
downloadnextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.tar.gz
nextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.zip
Fix more documentation failes
Issue #7111
Diffstat (limited to 'lib/public/template.php')
-rw-r--r--lib/public/template.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/public/template.php b/lib/public/template.php
index 0d86acbd060..9a994c1bea8 100644
--- a/lib/public/template.php
+++ b/lib/public/template.php
@@ -65,9 +65,8 @@ function preview_icon( $path ) {
/**
* Make publicpreview_icon available as a simple function
* Returns the path to the preview of the image.
- * @param string path of file
- * @param string token
- * @param string $path
+ * @param string $path of file
+ * @param string $token
* @return link to the preview
*/
function publicPreview_icon ( $path, $token ) {
@@ -78,7 +77,7 @@ function publicPreview_icon ( $path, $token ) {
* Make OC_Helper::humanFileSize available as a simple function
* Example: 2048 to 2 kB.
* @param int size in bytes
- * @return string as string
+ * @return string size as string
*/
function human_file_size( $bytes ) {
return(\human_file_size( $bytes ));
@@ -89,7 +88,7 @@ function human_file_size( $bytes ) {
* Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
* @param int unix timestamp
* @param boolean date only
- * @return OC_L10N_String readable interpretation of the timestamp
+ * @return OC_L10N_String human readable interpretation of the timestamp
*/
function relative_modified_date( $timestamp, $dateOnly = false ) {
return(\relative_modified_date($timestamp, null, $dateOnly));
@@ -100,7 +99,7 @@ function relative_modified_date( $timestamp, $dateOnly = false ) {
* Return a human readable outout for a file size.
* @deprecated human_file_size() instead
* @param integer size of a file in byte
- * @return string readable interpretation of a file size
+ * @return string human readable interpretation of a file size
*/
function simple_file_size($bytes) {
return(\human_file_size($bytes));
@@ -112,7 +111,7 @@ function simple_file_size($bytes) {
* @param $options the options
* @param $selected which one is selected?
* @param array the parameters
- * @return string options
+ * @return string html options
*/
function html_select_options($options, $selected, $params=array()) {
return(\html_select_options($options, $selected, $params));