@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * Constructor |
| 26 | 26 | * |
| 27 | 27 | * @param string $uploadDir |
| 28 | - * @param array|int|string $allowedMimeTypes |
|
| 28 | + * @param integer $allowedMimeTypes |
|
| 29 | 29 | * @param int $maxFileSize |
| 30 | 30 | * @param int $maxWidth |
| 31 | 31 | * @param int $maxHeight |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * @param $text |
| 62 | - * @return mixed|string |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | public function cleanup($text) |
| 65 | 65 | { |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * @param null|string $name |
| 60 | 60 | * @param null|string $value |
| 61 | 61 | * |
| 62 | - * @return mixed |
|
| 62 | + * @return null|string |
|
| 63 | 63 | */ |
| 64 | 64 | public function setConfig($name = null, $value = null) |
| 65 | 65 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | public $postArray = []; |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param $table_name |
|
| 45 | + * @param string $table_name |
|
| 46 | 46 | * @param string $id_name |
| 47 | 47 | * @param string $pid_name |
| 48 | 48 | */ |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | - * @param NewbbForum|int $forum |
|
| 160 | + * @param integer $forum |
|
| 161 | 161 | * @param bool $topic_locked |
| 162 | 162 | * @param bool $isAdmin |
| 163 | 163 | * @return array |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param $id |
|
| 95 | + * @param integer $id |
|
| 96 | 96 | * @return null|array |
| 97 | 97 | */ |
| 98 | 98 | public function getStats($id) |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | /** |
| 111 | 111 | * @param $text |
| 112 | 112 | * @param int $trim |
| 113 | - * @return mixed|string |
|
| 113 | + * @return string |
|
| 114 | 114 | */ |
| 115 | 115 | public function cleanup($text, $trim = 0) |
| 116 | 116 | { |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @param $type |
|
| 77 | + * @param string $type |
|
| 78 | 78 | * @param $items |
| 79 | 79 | * @param null $uid |
| 80 | 80 | * @return mixed |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | /** |
| 24 | 24 | * @param $text |
| 25 | - * @return mixed |
|
| 25 | + * @return string |
|
| 26 | 26 | */ |
| 27 | 27 | function newbbHtmlspecialchars(&$text) |
| 28 | 28 | { |