Completed
Push — master ( bf680a...c14dad )
by Morris
94:09 queued 79:58
created
lib/public/Template.php 2 patches
Indentation   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -37,98 +37,98 @@
 block discarded – undo
37 37
  * @since 8.0.0
38 38
  */
39 39
 class Template extends \OC_Template {
40
-	/**
41
-	 * Make OC_Helper::imagePath available as a simple function
42
-	 *
43
-	 * @see \OCP\IURLGenerator::imagePath
44
-	 *
45
-	 * @param string $app
46
-	 * @param string $image
47
-	 * @return string to the image
48
-	 * @since 8.0.0
49
-	 * @suppress PhanDeprecatedFunction
50
-	 */
51
-	public static function image_path($app, $image) {
52
-		return \image_path($app, $image);
53
-	}
40
+    /**
41
+     * Make OC_Helper::imagePath available as a simple function
42
+     *
43
+     * @see \OCP\IURLGenerator::imagePath
44
+     *
45
+     * @param string $app
46
+     * @param string $image
47
+     * @return string to the image
48
+     * @since 8.0.0
49
+     * @suppress PhanDeprecatedFunction
50
+     */
51
+    public static function image_path($app, $image) {
52
+        return \image_path($app, $image);
53
+    }
54 54
 
55 55
 
56
-	/**
57
-	 * Make OC_Helper::mimetypeIcon available as a simple function
58
-	 *
59
-	 * @param string $mimetype
60
-	 * @return string to the image of this file type.
61
-	 * @since 8.0.0
62
-	 * @suppress PhanDeprecatedFunction
63
-	 */
64
-	public static function mimetype_icon($mimetype) {
65
-		return \mimetype_icon($mimetype);
66
-	}
56
+    /**
57
+     * Make OC_Helper::mimetypeIcon available as a simple function
58
+     *
59
+     * @param string $mimetype
60
+     * @return string to the image of this file type.
61
+     * @since 8.0.0
62
+     * @suppress PhanDeprecatedFunction
63
+     */
64
+    public static function mimetype_icon($mimetype) {
65
+        return \mimetype_icon($mimetype);
66
+    }
67 67
 
68
-	/**
69
-	 * Make preview_icon available as a simple function
70
-	 *
71
-	 * @param string $path path to file
72
-	 * @return string to the preview of the image
73
-	 * @since 8.0.0
74
-	 * @suppress PhanDeprecatedFunction
75
-	 */
76
-	public static function preview_icon($path) {
77
-		return \preview_icon($path);
78
-	}
68
+    /**
69
+     * Make preview_icon available as a simple function
70
+     *
71
+     * @param string $path path to file
72
+     * @return string to the preview of the image
73
+     * @since 8.0.0
74
+     * @suppress PhanDeprecatedFunction
75
+     */
76
+    public static function preview_icon($path) {
77
+        return \preview_icon($path);
78
+    }
79 79
 
80
-	/**
81
-	 * Make publicpreview_icon available as a simple function
82
-	 * Returns the path to the preview of the image.
83
-	 *
84
-	 * @param string $path of file
85
-	 * @param string $token
86
-	 * @return string link to the preview
87
-	 * @since 8.0.0
88
-	 * @suppress PhanDeprecatedFunction
89
-	 */
90
-	public static function publicPreview_icon($path, $token) {
91
-		return \publicPreview_icon($path, $token);
92
-	}
80
+    /**
81
+     * Make publicpreview_icon available as a simple function
82
+     * Returns the path to the preview of the image.
83
+     *
84
+     * @param string $path of file
85
+     * @param string $token
86
+     * @return string link to the preview
87
+     * @since 8.0.0
88
+     * @suppress PhanDeprecatedFunction
89
+     */
90
+    public static function publicPreview_icon($path, $token) {
91
+        return \publicPreview_icon($path, $token);
92
+    }
93 93
 
94
-	/**
95
-	 * Make OC_Helper::humanFileSize available as a simple function
96
-	 * Example: 2048 to 2 kB.
97
-	 *
98
-	 * @param int $bytes in bytes
99
-	 * @return string size as string
100
-	 * @since 8.0.0
101
-	 * @suppress PhanDeprecatedFunction
102
-	 */
103
-	public static function human_file_size($bytes) {
104
-		return \human_file_size($bytes);
105
-	}
94
+    /**
95
+     * Make OC_Helper::humanFileSize available as a simple function
96
+     * Example: 2048 to 2 kB.
97
+     *
98
+     * @param int $bytes in bytes
99
+     * @return string size as string
100
+     * @since 8.0.0
101
+     * @suppress PhanDeprecatedFunction
102
+     */
103
+    public static function human_file_size($bytes) {
104
+        return \human_file_size($bytes);
105
+    }
106 106
 
107
-	/**
108
-	 * Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
109
-	 *
110
-	 * @param int $timestamp unix timestamp
111
-	 * @param boolean $dateOnly
112
-	 * @return string human readable interpretation of the timestamp
113
-	 * @since 8.0.0
114
-	 * @suppress PhanDeprecatedFunction
115
-	 * @suppress PhanTypeMismatchArgument
116
-	 */
117
-	public static function relative_modified_date($timestamp, $dateOnly = false) {
118
-		return \relative_modified_date($timestamp, null, $dateOnly);
119
-	}
107
+    /**
108
+     * Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
109
+     *
110
+     * @param int $timestamp unix timestamp
111
+     * @param boolean $dateOnly
112
+     * @return string human readable interpretation of the timestamp
113
+     * @since 8.0.0
114
+     * @suppress PhanDeprecatedFunction
115
+     * @suppress PhanTypeMismatchArgument
116
+     */
117
+    public static function relative_modified_date($timestamp, $dateOnly = false) {
118
+        return \relative_modified_date($timestamp, null, $dateOnly);
119
+    }
120 120
 
121
-	/**
122
-	 * Generate html code for an options block.
123
-	 *
124
-	 * @param array $options the options
125
-	 * @param mixed $selected which one is selected?
126
-	 * @param array $params the parameters
127
-	 * @return string html options
128
-	 * @since 8.0.0
129
-	 * @suppress PhanDeprecatedFunction
130
-	 */
131
-	public static function html_select_options($options, $selected, $params=array()) {
132
-		return \html_select_options($options, $selected, $params);
133
-	}
121
+    /**
122
+     * Generate html code for an options block.
123
+     *
124
+     * @param array $options the options
125
+     * @param mixed $selected which one is selected?
126
+     * @param array $params the parameters
127
+     * @return string html options
128
+     * @since 8.0.0
129
+     * @suppress PhanDeprecatedFunction
130
+     */
131
+    public static function html_select_options($options, $selected, $params=array()) {
132
+        return \html_select_options($options, $selected, $params);
133
+    }
134 134
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
 	 * @since 8.0.0
129 129
 	 * @suppress PhanDeprecatedFunction
130 130
 	 */
131
-	public static function html_select_options($options, $selected, $params=array()) {
131
+	public static function html_select_options($options, $selected, $params = array()) {
132 132
 		return \html_select_options($options, $selected, $params);
133 133
 	}
134 134
 }
Please login to merge, or discard this patch.