summaryrefslogtreecommitdiffstats
path: root/lib/public/Template.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-22 21:10:16 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-22 21:10:16 +0200
commit361d2badd8f5be949acd94f52fc9ba2d0a98052d (patch)
tree76811147fccd8c0c62bc9884e32a349bf72c8806 /lib/public/Template.php
parent9a151056d034f4124ea837f77b5a13f35834fd22 (diff)
downloadnextcloud-server-361d2badd8f5be949acd94f52fc9ba2d0a98052d.tar.gz
nextcloud-server-361d2badd8f5be949acd94f52fc9ba2d0a98052d.zip
Some phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Template.php')
-rw-r--r--lib/public/Template.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/public/Template.php b/lib/public/Template.php
index 590f430e24c..85c60cfb0a2 100644
--- a/lib/public/Template.php
+++ b/lib/public/Template.php
@@ -49,8 +49,8 @@ namespace OCP;
* @see \OCP\IURLGenerator::imagePath
* @deprecated 8.0.0 Use \OCP\Template::image_path() instead
*/
-function image_path( $app, $image ) {
- return(\image_path( $app, $image ));
+function image_path($app, $image) {
+ return \image_path($app, $image);
}
@@ -60,8 +60,8 @@ function image_path( $app, $image ) {
* @return string to the image of this file type.
* @deprecated 8.0.0 Use \OCP\Template::mimetype_icon() instead
*/
-function mimetype_icon( $mimetype ) {
- return(\mimetype_icon( $mimetype ));
+function mimetype_icon($mimetype) {
+ return \mimetype_icon($mimetype);
}
/**
@@ -70,8 +70,8 @@ function mimetype_icon( $mimetype ) {
* @return string to the preview of the image
* @deprecated 8.0.0 Use \OCP\Template::preview_icon() instead
*/
-function preview_icon( $path ) {
- return(\preview_icon( $path ));
+function preview_icon($path) {
+ return \preview_icon($path);
}
/**
@@ -82,8 +82,8 @@ function preview_icon( $path ) {
* @return string link to the preview
* @deprecated 8.0.0 Use \OCP\Template::publicPreview_icon() instead
*/
-function publicPreview_icon ( $path, $token ) {
- return(\publicPreview_icon( $path, $token ));
+function publicPreview_icon($path, $token) {
+ return \publicPreview_icon($path, $token);
}
/**
@@ -93,8 +93,8 @@ function publicPreview_icon ( $path, $token ) {
* @return string size as string
* @deprecated 8.0.0 Use \OCP\Template::human_file_size() instead
*/
-function human_file_size( $bytes ) {
- return(\human_file_size( $bytes ));
+function human_file_size($bytes) {
+ return \human_file_size($bytes);
}
@@ -106,8 +106,8 @@ function human_file_size( $bytes ) {
*
* @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead
*/
-function relative_modified_date( $timestamp, $dateOnly = false ) {
- return(\relative_modified_date($timestamp, null, $dateOnly));
+function relative_modified_date($timestamp, $dateOnly = false) {
+ return \relative_modified_date($timestamp, null, $dateOnly);
}
@@ -118,7 +118,7 @@ function relative_modified_date( $timestamp, $dateOnly = false ) {
* @deprecated 8.0.0 Use \OCP\Template::human_file_size() instead
*/
function simple_file_size($bytes) {
- return(\human_file_size($bytes));
+ return \human_file_size($bytes);
}
@@ -131,7 +131,7 @@ function simple_file_size($bytes) {
* @deprecated 8.0.0 Use \OCP\Template::html_select_options() instead
*/
function html_select_options($options, $selected, $params=array()) {
- return(\html_select_options($options, $selected, $params));
+ return \html_select_options($options, $selected, $params);
}