@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * Supports multiple files and dirs and also recursive deletes |
204 | 204 | * |
205 | 205 | * @param string $args the arguments for rm |
206 | - * @return mixed PEAR_Error or true for success |
|
206 | + * @return boolean PEAR_Error or true for success |
|
207 | 207 | * @static |
208 | 208 | * @access public |
209 | 209 | */ |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | * c:\windows\temp or /tmp will be used. |
390 | 390 | * |
391 | 391 | * @param string $args The arguments |
392 | - * @return mixed the full path of the created (file|dir) or false |
|
392 | + * @return boolean|string the full path of the created (file|dir) or false |
|
393 | 393 | * @see System::tmpdir() |
394 | 394 | */ |
395 | 395 | public static function mktemp($args = null) |
@@ -489,7 +489,7 @@ discard block |
||
489 | 489 | * @param string $program The command to search for |
490 | 490 | * @param mixed $fallback Value to return if $program is not found |
491 | 491 | * |
492 | - * @return mixed A string with the full path or false if not found |
|
492 | + * @return string A string with the full path or false if not found |
|
493 | 493 | * @author Stig Bakken <[email protected]> |
494 | 494 | */ |
495 | 495 | public static function which($program, $fallback = false) |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | |
91 | 91 | /** |
92 | 92 | * @param $db |
93 | - * @param $type |
|
93 | + * @param string $type |
|
94 | 94 | */ |
95 | 95 | public function __construct(XoopsDatabase $db, $type) |
96 | 96 | { |
@@ -527,7 +527,7 @@ discard block |
||
527 | 527 | } |
528 | 528 | |
529 | 529 | /** |
530 | - * @param $photoName |
|
530 | + * @param string $photoName |
|
531 | 531 | */ |
532 | 532 | public function _largePhotoTreatment($photoName) |
533 | 533 | { |
@@ -568,7 +568,7 @@ discard block |
||
568 | 568 | } |
569 | 569 | |
570 | 570 | /** |
571 | - * @param $photoName |
|
571 | + * @param string $photoName |
|
572 | 572 | * @param null|string $filePath |
573 | 573 | * @param null $mediumFilePath |
574 | 574 | */ |
@@ -652,7 +652,7 @@ discard block |
||
652 | 652 | } |
653 | 653 | |
654 | 654 | /** |
655 | - * @param $photoName |
|
655 | + * @param string $photoName |
|
656 | 656 | * |
657 | 657 | * @return array |
658 | 658 | */ |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | } |
683 | 683 | |
684 | 684 | /** |
685 | - * @param $photoName |
|
685 | + * @param string $photoName |
|
686 | 686 | * |
687 | 687 | * @return string |
688 | 688 | */ |
@@ -731,7 +731,7 @@ discard block |
||
731 | 731 | } |
732 | 732 | |
733 | 733 | /** |
734 | - * @param $photoName |
|
734 | + * @param string $photoName |
|
735 | 735 | * |
736 | 736 | * @return float |
737 | 737 | */ |
@@ -895,14 +895,14 @@ discard block |
||
895 | 895 | } |
896 | 896 | |
897 | 897 | /** |
898 | - * @param $catId |
|
898 | + * @param integer $catId |
|
899 | 899 | * @param $dirtyPhotoName |
900 | 900 | * @param string $photoTitle |
901 | 901 | * @param string $photoDesc |
902 | 902 | * @param string $photoExtra |
903 | 903 | * @param string $photoTag |
904 | 904 | * |
905 | - * @return mixed |
|
905 | + * @return boolean |
|
906 | 906 | */ |
907 | 907 | public function addLocalPhoto( |
908 | 908 | $catId, |
@@ -169,7 +169,7 @@ |
||
169 | 169 | } |
170 | 170 | |
171 | 171 | /** |
172 | - * @param $tmpDestination |
|
172 | + * @param string $tmpDestination |
|
173 | 173 | * @param $fileName |
174 | 174 | * |
175 | 175 | * @return bool |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
123 | - * @param $iWidth |
|
123 | + * @param integer $iWidth |
|
124 | 124 | */ |
125 | 125 | public function SetWidth($iWidth) |
126 | 126 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param $iHeight |
|
135 | + * @param integer $iHeight |
|
136 | 136 | */ |
137 | 137 | public function SetHeight($iHeight) |
138 | 138 | { |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param $iNumChars |
|
146 | + * @param integer $iNumChars |
|
147 | 147 | */ |
148 | 148 | public function SetNumChars($iNumChars) |
149 | 149 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @param $iNumLines |
|
155 | + * @param integer $iNumLines |
|
156 | 156 | */ |
157 | 157 | public function SetNumLines($iNumLines) |
158 | 158 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | /** |
163 | - * @param $bCharShadow |
|
163 | + * @param boolean $bCharShadow |
|
164 | 164 | */ |
165 | 165 | public function DisplayShadow($bCharShadow) |
166 | 166 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $sOwnerText |
|
171 | + * @param string $sOwnerText |
|
172 | 172 | */ |
173 | 173 | public function SetOwnerText($sOwnerText) |
174 | 174 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @param $vCharSet |
|
179 | + * @param string $vCharSet |
|
180 | 180 | */ |
181 | 181 | public function SetCharSet($vCharSet) |
182 | 182 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |
218 | - * @param $bCaseInsensitive |
|
218 | + * @param boolean $bCaseInsensitive |
|
219 | 219 | */ |
220 | 220 | public function CaseInsensitive($bCaseInsensitive) |
221 | 221 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
226 | - * @param $vBackgroundImages |
|
226 | + * @param string $vBackgroundImages |
|
227 | 227 | */ |
228 | 228 | public function SetBackgroundImages($vBackgroundImages) |
229 | 229 | { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
234 | - * @param $iMinFontSize |
|
234 | + * @param integer $iMinFontSize |
|
235 | 235 | */ |
236 | 236 | public function SetMinFontSize($iMinFontSize) |
237 | 237 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | } |
240 | 240 | |
241 | 241 | /** |
242 | - * @param $iMaxFontSize |
|
242 | + * @param integer $iMaxFontSize |
|
243 | 243 | */ |
244 | 244 | public function SetMaxFontSize($iMaxFontSize) |
245 | 245 | { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |
250 | - * @param $bUseColour |
|
250 | + * @param boolean $bUseColour |
|
251 | 251 | */ |
252 | 252 | public function UseColour($bUseColour) |
253 | 253 | { |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * @param $sFileType |
|
258 | + * @param string $sFileType |
|
259 | 259 | */ |
260 | 260 | public function SetFileType($sFileType) |
261 | 261 | { |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * @param $sFilename |
|
384 | + * @param string $sFilename |
|
385 | 385 | */ |
386 | 386 | public function WriteFile($sFilename) |
387 | 387 | { |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | } |
515 | 515 | |
516 | 516 | /** |
517 | - * @param $sFlitePath |
|
517 | + * @param string $sFlitePath |
|
518 | 518 | */ |
519 | 519 | public function SetFlitePath($sFlitePath) |
520 | 520 | { |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | } |
523 | 523 | |
524 | 524 | /** |
525 | - * @param $sAudioPath |
|
525 | + * @param string $sAudioPath |
|
526 | 526 | */ |
527 | 527 | public function SetAudioPath($sAudioPath) |
528 | 528 | { |
@@ -2,7 +2,7 @@ |
||
2 | 2 | /** |
3 | 3 | * @param $items |
4 | 4 | * |
5 | - * @return bool |
|
5 | + * @return false|null |
|
6 | 6 | */ |
7 | 7 | function extgallery_tag_iteminfo(&$items) |
8 | 8 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | /** |
51 | 51 | * @param $data |
52 | 52 | * |
53 | - * @return bool |
|
53 | + * @return false|null |
|
54 | 54 | */ |
55 | 55 | public function createCat($data) |
56 | 56 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * @param $data |
79 | 79 | * |
80 | - * @return bool |
|
80 | + * @return false|null |
|
81 | 81 | */ |
82 | 82 | public function createEcard($data) |
83 | 83 | { |
@@ -267,7 +267,7 @@ |
||
267 | 267 | * |
268 | 268 | * @param array $orig_size |
269 | 269 | * @param array $dest_size |
270 | - * @param $dest_file_name |
|
270 | + * @param string $dest_file_name |
|
271 | 271 | * @return string |
272 | 272 | */ |
273 | 273 | private function resize_image($orig_size, $dest_size, $dest_file_name) |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param $slide_id |
36 | 36 | * @param $slider_id |
37 | - * @return array complete array of slides |
|
37 | + * @return string complete array of slides |
|
38 | 38 | */ |
39 | 39 | public function get_slide($slide_id, $slider_id) |
40 | 40 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @param $slider_id |
|
80 | + * @param integer $slider_id |
|
81 | 81 | * @param $slide_id |
82 | 82 | * @return |
83 | 83 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @param $slider_id |
|
90 | + * @param integer $slider_id |
|
91 | 91 | * @param $slide_id |
92 | 92 | * @return bool |
93 | 93 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Build image HTML |
124 | 124 | * |
125 | 125 | * @param array $attributes |
126 | - * @param $content |
|
126 | + * @param string $content |
|
127 | 127 | * @return string image HTML |
128 | 128 | */ |
129 | 129 | public function build_anchor_tag($attributes, $content) |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * If the meta exists, but the value is empty, delete it |
213 | 213 | * If the meta exists, update it |
214 | 214 | * @param $post_id |
215 | - * @param $name |
|
215 | + * @param string $name |
|
216 | 216 | * @param $value |
217 | 217 | */ |
218 | 218 | public function add_or_update_or_delete_meta($post_id, $name, $value) |