@@ -87,6 +87,9 @@ discard block |
||
| 87 | 87 | return false; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | +/** |
|
| 91 | + * @param string $imgthumb |
|
| 92 | + */ |
|
| 90 | 93 | function create_img($imgfile, $imgthumb, $newwidth, $newheight = '') |
| 91 | 94 | { |
| 92 | 95 | if (image_check_memory_usage($imgfile, $newwidth, $newheight)) { |
@@ -265,6 +268,9 @@ discard block |
||
| 265 | 268 | return false; |
| 266 | 269 | } |
| 267 | 270 | |
| 271 | +/** |
|
| 272 | + * @param string $max_hoogte |
|
| 273 | + */ |
|
| 268 | 274 | function image_check_memory_usage($img, $max_breedte, $max_hoogte) |
| 269 | 275 | { |
| 270 | 276 | if (file_exists($img)) { |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | 245 | * Log a message on the current output, as a HTML comment. |
| 246 | - * @param $function |
|
| 246 | + * @param string $function |
|
| 247 | 247 | * @param $msg |
| 248 | 248 | * @param bool $htmlComment |
| 249 | 249 | */ |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | /** |
| 261 | 261 | * Log a message to the PHP log. |
| 262 | 262 | * Declared "protected" so it may be Extended if you require customised logging (e.g. particular log file location). |
| 263 | - * @param $function |
|
| 263 | + * @param string $function |
|
| 264 | 264 | * @param $msg |
| 265 | 265 | */ |
| 266 | 266 | protected function logPHPDebug($function, $msg) |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | * the document.embeds[] array while in others, it is accessible via the |
| 316 | 316 | * document.applets[] array. |
| 317 | 317 | * |
| 318 | - * @return A string, containing the necessary wrapper function (named JUploadSetProperty) |
|
| 318 | + * @return string string, containing the necessary wrapper function (named JUploadSetProperty) |
|
| 319 | 319 | */ |
| 320 | 320 | private function str_jsinit() |
| 321 | 321 | { |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | /** |
| 337 | 337 | * Build a string, containing the applet tag with all parameters. |
| 338 | 338 | * |
| 339 | - * @return A string, containing the applet tag |
|
| 339 | + * @return string string, containing the applet tag |
|
| 340 | 340 | */ |
| 341 | 341 | private function str_applet() |
| 342 | 342 | { |
@@ -406,6 +406,9 @@ discard block |
||
| 406 | 406 | return; |
| 407 | 407 | } |
| 408 | 408 | |
| 409 | + /** |
|
| 410 | + * @param string $path |
|
| 411 | + */ |
|
| 409 | 412 | private function mkdirp($path) |
| 410 | 413 | { |
| 411 | 414 | // create subdir (hierary) below destdir; |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | /** |
| 120 | 120 | * prepare HTML for output |
| 121 | 121 | * |
| 122 | - * @return sting HTML |
|
| 122 | + * @return string HTML |
|
| 123 | 123 | */ |
| 124 | 124 | |
| 125 | 125 | public function render() |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Creates one instance of the tinyMCE object |
| 46 | 46 | * |
| 47 | 47 | * @param array $config The configuration |
| 48 | - * @return object $instance The instance of tinyMCE object |
|
| 48 | + * @return TinyMCE $instance The instance of tinyMCE object |
|
| 49 | 49 | **/ |
| 50 | 50 | |
| 51 | 51 | public function &instance($config) |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * Initializes the tinyMCE |
| 72 | - * @return true |
|
| 72 | + * @return boolean |
|
| 73 | 73 | **/ |
| 74 | 74 | |
| 75 | 75 | public function init() |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | /** |
| 162 | 162 | * Removes unwanted script tags from snippet |
| 163 | 163 | * @param $element |
| 164 | - * @return string|string[]|null $snippet_tag |
|
| 164 | + * @return string $snippet_tag |
|
| 165 | 165 | */ |
| 166 | 166 | private function removeScripts($element) |
| 167 | 167 | { |