aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Extension.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-05-08 10:27:18 +0200
committerGravatar GitHub <noreply@github.com> 2021-05-08 10:27:18 +0200
commit607f7e725487ce0eb0339b288ce9e58036dad4a0 (patch)
tree5143afbcdcf15e22b70a93e1f4744cc85eea8517 /lib/Minz/Extension.php
parent224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff)
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'lib/Minz/Extension.php')
-rw-r--r--lib/Minz/Extension.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php
index c97e56355..3bbb3925a 100644
--- a/lib/Minz/Extension.php
+++ b/lib/Minz/Extension.php
@@ -93,8 +93,7 @@ abstract class Minz_Extension {
/**
* Return the content of the configure view for the current extension.
*
- * @return the html content from ext_dir/configure.phtml, false if it does
- * not exist.
+ * @return string html content from ext_dir/configure.phtml, false if it does not exist.
*/
public function getConfigureView() {
$filename = $this->path . '/configure.phtml';
@@ -149,7 +148,7 @@ abstract class Minz_Extension {
* @param $filename name of the file to serve.
* @param $type the type (js or css) of the file to serve.
* @param $isStatic indicates if the file is a static file or a user file. Default is static.
- * @return the url corresponding to the file.
+ * @return string url corresponding to the file.
*/
public function getFileUrl($filename, $type, $isStatic = true) {
if ($isStatic) {