Completed
Push — master ( b5d5db...5c3402 )
by Michael
04:42 queued 02:23
created
class/category.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
     /**
70 70
      * @param  string $format
71
-     * @return mixed
71
+     * @return string
72 72
      */
73 73
     public function name($format = 'S')
74 74
     {
Please login to merge, or discard this patch.
class/file.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * constructor
26
-     * @param null $id
26
+     * @param integer $id
27 27
      */
28 28
     public function __construct($id = null)
29 29
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param $text
90
+     * @param string $text
91 91
      * @return mixed
92 92
      */
93 93
     public function purifyText($text)
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @param       $post_field
135
+     * @param       string $post_field
136 136
      * @param  null $allowed_mimetypes
137 137
      * @param       $errors
138 138
      * @return bool
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 
260 260
     /**
261 261
      * @param  string $format
262
-     * @return mixed
262
+     * @return string
263 263
      */
264 264
     public function filename($format = 'S')
265 265
     {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     }
388 388
 
389 389
     /**
390
-     * @return mixed|string
390
+     * @return string
391 391
      */
392 392
     public function getNameFromFilename()
393 393
     {
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
      * create a new file
414 414
      *
415 415
      * @param  bool $isNew flag the new objects as "new"?
416
-     * @return object SmartpartnerFile
416
+     * @return SmartpartnerFile SmartpartnerFile
417 417
      */
418 418
     public function create($isNew = true)
419 419
     {
Please login to merge, or discard this patch.
class/session.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * Sets a session variable
24 24
      * @param string name of variable
25 25
      * @param mixed  value of variable
26
+     * @param string $name
26 27
      * @return void
27 28
      * @access public
28 29
      */
Please login to merge, or discard this patch.
class/smartdbupdater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -629,7 +629,7 @@
 block discarded – undo
629 629
     /**
630 630
      * Use to update a table
631 631
      *
632
-     * @param object $table {@link SmartDbTable} that will be updated
632
+     * @param SmartDbTable $table {@link SmartDbTable} that will be updated
633 633
      *
634 634
      * @see SmartDbTable
635 635
      *
Please login to merge, or discard this patch.
class/uploader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * Constructor
114 114
      *
115 115
      * @param string    $uploadDir
116
-     * @param array|int $allowedMimeTypes
116
+     * @param integer $allowedMimeTypes
117 117
      * @param int       $maxFileSize
118 118
      * @param int       $maxWidth
119 119
      * @param int       $maxHeight
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
     /**
383 383
      * Copy the file to its destination
384 384
      *
385
-     * @param $chmod
385
+     * @param integer $chmod
386 386
      * @return bool
387 387
      */
388 388
     public function _copyFile($chmod)
Please login to merge, or discard this patch.
clone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 if (!function_exists('file_put_contents')) {
37 37
     /**
38 38
      * @param      $filename
39
-     * @param      $data
39
+     * @param      string $data
40 40
      * @param bool $file_append
41 41
      */
42 42
     function file_put_contents($filename, $data, $file_append = false)
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 }
114 114
 
115 115
 /**
116
- * @return array
116
+ * @return string[]
117 117
  */
118 118
 function smartpartner_getAllowedImagesTypes()
119 119
 {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 }
262 262
 
263 263
 /**
264
- * @param       $name
264
+ * @param       string $name
265 265
  * @param  bool $optional
266 266
  * @return bool
267 267
  */
@@ -350,8 +350,8 @@  discard block
 block discarded – undo
350 350
 }
351 351
 
352 352
 /**
353
- * @param $name
354
- * @param $icon
353
+ * @param string $name
354
+ * @param string $icon
355 355
  */
356 356
 function smartpartner_close_collapsable($name, $icon)
357 357
 {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 }
375 375
 
376 376
 /**
377
- * @param         $name
377
+ * @param         string $name
378 378
  * @param  string $default
379 379
  * @return string
380 380
  */
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
 /**
456 456
  * Thanks to the NewBB2 Development Team
457
- * @param             $item
457
+ * @param             string $item
458 458
  * @param  bool       $getStatus
459 459
  * @return int|string
460 460
  */
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
 
656 656
 /**
657 657
  * @param $dirname
658
- * @return bool
658
+ * @return boolean|null
659 659
  */
660 660
 function smartpartner_deleteFile($dirname)
661 661
 {
Please login to merge, or discard this patch.
include/metagen.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * Author: The SmartFactory <www.smartfactory.ca>
7 7
  * Licence: GNU
8 8
  * @param $document
9
- * @return mixed
9
+ * @return string
10 10
  */
11 11
 
12 12
 function smartpartner_metagen_html2text($document)
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 }
57 57
 
58 58
 /**
59
- * @param         $description
59
+ * @param         string $description
60 60
  * @param  int    $maxWords
61 61
  * @return string
62 62
  */
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
 /**
85 85
  * @param $text
86
- * @param $minChar
86
+ * @param integer $minChar
87 87
  * @return array
88 88
  */
89 89
 function smartpartner_findMetaKeywords($text, $minChar)
Please login to merge, or discard this patch.
include/seo_functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
 // TODO: The SEO feature is not fully implemented in the module...
26 26
 /**
27
- * @param         $op
27
+ * @param         string $op
28 28
  * @param         $id
29 29
  * @param  string $title
30 30
  * @return string
Please login to merge, or discard this patch.