Completed
Push — master ( 02f2d8...e7d60a )
by Michael
02:40
created
external_plugins/filemanager/include/classPhpPsdReader.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     /**
201 201
      *
202 202
      * PRIVATE FUNCTIONS
203
-     * @param $string
203
+     * @param string $string
204 204
      * @return string
205 205
      */
206 206
 
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
         }
281 281
     }
282 282
 
283
+    /**
284
+     * @param string $hex
285
+     */
283 286
     public function _hexReverse($hex)
284 287
     {
285 288
         $output = '';
Please login to merge, or discard this patch.
external_plugins/filemanager/include/php_image_magician.php 1 patch
Doc Comments   +52 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@  discard block
 block discarded – undo
233 233
         Resize
234 234
     *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-*-*-*/
235 235
 
236
+    /**
237
+     * @param string $newHeight
238
+     */
236 239
     public function resizeImage($newWidth, $newHeight, $option = 0, $sharpen = false, $autoRotate = true)
237 240
         # Author:     Jarrod Oberto
238 241
         # Date:       27-02-08
@@ -378,6 +381,9 @@  discard block
 block discarded – undo
378 381
 
379 382
     ## --------------------------------------------------------
380 383
 
384
+    /**
385
+     * @param resource $im
386
+     */
381 387
     private function keepTransparancy($width, $height, $im)
382 388
         # Author:     Jarrod Oberto
383 389
         # Date:       08-04-11
@@ -793,6 +799,9 @@  discard block
 block discarded – undo
793 799
 
794 800
     ## --------------------------------------------------------
795 801
 
802
+    /**
803
+     * @param integer $orig
804
+     */
796 805
     private function findSharp($orig, $final)
797 806
         # Author:     Ryan Rud (http://adryrun.com)
798 807
         # Purpose:    Find optimal sharpness
@@ -1068,8 +1077,8 @@  discard block
 block discarded – undo
1068 1077
 
1069 1078
     /** Apply a PNG overlay
1070 1079
      * @param $im
1071
-     * @param $type
1072
-     * @param $amount
1080
+     * @param string $type
1081
+     * @param integer $amount
1073 1082
      * @return mixed
1074 1083
      */
1075 1084
     private function gd_apply_overlay($im, $type, $amount)
@@ -1595,6 +1604,11 @@  discard block
 block discarded – undo
1595 1604
 
1596 1605
     ## --------------------------------------------------------
1597 1606
 
1607
+    /**
1608
+     * @param string $side
1609
+     * @param integer $thickness
1610
+     * @param integer $padding
1611
+     */
1598 1612
     private function calculateCaptionBoxPosition($side, $thickness, $padding)
1599 1613
     {
1600 1614
         $positionArray = [];
@@ -1998,6 +2012,9 @@  discard block
 block discarded – undo
1998 2012
 
1999 2013
     ## --------------------------------------------------------
2000 2014
 
2015
+    /**
2016
+     * @param integer $dat
2017
+     */
2001 2018
     private function writeIPTC($dat, $value)
2002 2019
     {
2003 2020
         # LIMIT TO JPG
@@ -2009,6 +2026,9 @@  discard block
 block discarded – undo
2009 2026
 
2010 2027
     ## --------------------------------------------------------
2011 2028
 
2029
+    /**
2030
+     * @param integer $rec
2031
+     */
2012 2032
     private function iptc_maketag($rec, $dat, $val)
2013 2033
         # Author:   Thies C. Arntzen
2014 2034
         # Purpose:    Function to format the new IPTC text
@@ -2111,6 +2131,10 @@  discard block
 block discarded – undo
2111 2131
 
2112 2132
     ## --------------------------------------------------------
2113 2133
 
2134
+    /**
2135
+     * @param integer $fontSize
2136
+     * @param integer $angle
2137
+     */
2114 2138
     private function getTextSize($fontSize, $angle, $font, $text)
2115 2139
     {
2116 2140
         // *** Define box (so we can get the width)
@@ -2183,6 +2207,9 @@  discard block
 block discarded – undo
2183 2207
 
2184 2208
     ## --------------------------------------------------------
2185 2209
 
2210
+    /**
2211
+     * @param integer $padding
2212
+     */
2186 2213
     private function calculatePosition($pos, $padding, $assetWidth, $assetHeight, $upperLeft = true)
2187 2214
         #
2188 2215
         # Author:   Jarrod Oberto
@@ -2799,6 +2826,9 @@  discard block
 block discarded – undo
2799 2826
 
2800 2827
     ## --------------------------------------------------------
2801 2828
 
2829
+    /**
2830
+     * @param boolean $isEnabled
2831
+     */
2802 2832
     private function checkInterlaceImage($isEnabled)
2803 2833
         # jpg will use progressive (they don't use interace)
2804 2834
     {
@@ -2940,6 +2970,10 @@  discard block
 block discarded – undo
2940 2970
 
2941 2971
     ## --------------------------------------------------------
2942 2972
 
2973
+    /**
2974
+     * @param integer $value
2975
+     * @param integer $originalMax
2976
+     */
2943 2977
     private function invertTransparency($value, $originalMax, $invert = true)
2944 2978
         # Purpose:  This does two things:
2945 2979
         #       1) Convert the range from 0-127 to 0-100
@@ -2965,6 +2999,9 @@  discard block
 block discarded – undo
2965 2999
 
2966 3000
     ## --------------------------------------------------------
2967 3001
 
3002
+    /**
3003
+     * @param resource $src
3004
+     */
2968 3005
     private function transparentImage($src)
2969 3006
     {
2970 3007
         // *** making images with white bg transparent
@@ -2993,6 +3030,9 @@  discard block
 block discarded – undo
2993 3030
 
2994 3031
     ## --------------------------------------------------------
2995 3032
 
3033
+    /**
3034
+     * @param string $needle
3035
+     */
2996 3036
     public function checkStringStartsWith($needle, $haystack)
2997 3037
         # Check if a string starts with a specific pattern
2998 3038
     {
@@ -3003,6 +3043,9 @@  discard block
 block discarded – undo
3003 3043
         BMP SUPPORT (SAVING) - James Heinrich
3004 3044
     *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-*-*-*/
3005 3045
 
3046
+    /**
3047
+     * @param resource $gd_image
3048
+     */
3006 3049
     private function GD2BMPstring(&$gd_image)
3007 3050
         # Author:     James Heinrich
3008 3051
         # Purpose:    Save file as type bmp
@@ -3056,6 +3099,10 @@  discard block
 block discarded – undo
3056 3099
 
3057 3100
     ## --------------------------------------------------------
3058 3101
 
3102
+    /**
3103
+     * @param integer $x
3104
+     * @param integer $y
3105
+     */
3059 3106
     private function GetPixelColor(&$img, $x, $y)
3060 3107
         # Author:     James Heinrich
3061 3108
         # Purpose:
@@ -3073,6 +3120,9 @@  discard block
 block discarded – undo
3073 3120
 
3074 3121
     ## --------------------------------------------------------
3075 3122
 
3123
+    /**
3124
+     * @param integer $number
3125
+     */
3076 3126
     private function LittleEndian2String($number, $minbytes = 1)
3077 3127
         # Author:     James Heinrich
3078 3128
         # Purpose:    BMP SUPPORT (SAVING)
Please login to merge, or discard this patch.
tinymce4bootstrap/external_plugins/filemanager/include/utils.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
tinymce4bootstrap/external_plugins/filemanager/uploader/jupload.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/tinymce4bootstrap/formtinymce.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/tinymce4bootstrap/tinymce.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * Initializes the tinyMCE
72
-     * @return   true
72
+     * @return   boolean
73 73
      **/
74 74
 
75 75
     public function init()
Please login to merge, or discard this patch.
tinymce/js/tinymce/plugins/bootstrap/snippets/Snippets.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.