Completed
Push — master ( 8efe6c...fe6012 )
by Michael
17:41 queued 02:44
created
publisher/include/functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
 /**
103 103
  * @param  string $document
104
- * @return mixed
104
+ * @return string
105 105
  */
106 106
 function publisherHtml2text($document)
107 107
 {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 }
151 151
 
152 152
 /**
153
- * @return array
153
+ * @return string[]
154 154
  */
155 155
 function publisherGetAllowedImagesTypes()
156 156
 {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
 /**
379 379
  * Check is current user is author of a given article
380 380
  *
381
- * @param  object $itemObj
381
+ * @param  PublisherItem $itemObj
382 382
  * @return bool
383 383
  */
384 384
 function publisherUserIsAuthor($itemObj)
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
 /**
390 390
  * Check is current user is moderator of a given article
391 391
  *
392
- * @param  object $itemObj
392
+ * @param  PublisherItem $itemObj
393 393
  * @return bool
394 394
  */
395 395
 function publisherUserIsModerator($itemObj)
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
 }
550 550
 
551 551
 /**
552
- * @param  null|PublisherCategory $categoryObj
552
+ * @param  PublisherCategory $categoryObj
553 553
  * @param  int                    $selectedid
554 554
  * @param  int                    $level
555 555
  * @param  string                 $ret
Please login to merge, or discard this patch.
publisher/include/seo_functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param string $title
33 33
      * @param bool   $withExt
34 34
      *
35
-     * @return mixed|string
35
+     * @return string
36 36
      */
37 37
     public static function getTitle($title = '', $withExt = true)
38 38
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param        $op
76
+     * @param        string $op
77 77
      * @param        $id
78 78
      * @param string $shortUrl
79 79
      *
Please login to merge, or discard this patch.
publisher/thumb.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     }
442 442
 
443 443
     /**
444
-     * @return bool
444
+     * @return null|false
445 445
      */
446 446
     protected function handleErrors()
447 447
     {
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
     }
521 521
 
522 522
     /**
523
-     * @return bool
523
+     * @return boolean|null
524 524
      */
525 525
     protected function tryServerCache()
526 526
     {
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
     }
684 684
 
685 685
     /**
686
-     * @param $localImage
686
+     * @param string $localImage
687 687
      *
688 688
      * @return bool
689 689
      */
@@ -1023,7 +1023,7 @@  discard block
 block discarded – undo
1023 1023
     }
1024 1024
 
1025 1025
     /**
1026
-     * @param $src
1026
+     * @param string $src
1027 1027
      *
1028 1028
      * @return bool|string
1029 1029
      */
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
     }
1102 1102
 
1103 1103
     /**
1104
-     * @param $path
1104
+     * @param string $path
1105 1105
      *
1106 1106
      * @return string
1107 1107
      */
@@ -1118,7 +1118,7 @@  discard block
 block discarded – undo
1118 1118
     }
1119 1119
 
1120 1120
     /**
1121
-     * @param $name
1121
+     * @param string $name
1122 1122
      */
1123 1123
     protected function toDelete($name)
1124 1124
     {
@@ -1289,8 +1289,8 @@  discard block
 block discarded – undo
1289 1289
     }
1290 1290
 
1291 1291
     /**
1292
-     * @param $mimeType
1293
-     * @param $dataSize
1292
+     * @param string $mimeType
1293
+     * @param integer $dataSize
1294 1294
      *
1295 1295
      * @return bool
1296 1296
      */
@@ -1328,7 +1328,7 @@  discard block
 block discarded – undo
1328 1328
     }
1329 1329
 
1330 1330
     /**
1331
-     * @param        $property
1331
+     * @param        string $property
1332 1332
      * @param string $default
1333 1333
      *
1334 1334
      * @return string
@@ -1406,7 +1406,7 @@  discard block
 block discarded – undo
1406 1406
     }
1407 1407
 
1408 1408
     /**
1409
-     * @param $level
1409
+     * @param integer $level
1410 1410
      * @param $msg
1411 1411
      */
1412 1412
     protected function debug($level, $msg)
@@ -1423,7 +1423,7 @@  discard block
 block discarded – undo
1423 1423
     }
1424 1424
 
1425 1425
     /**
1426
-     * @param $msg
1426
+     * @param string $msg
1427 1427
      *
1428 1428
      * @return bool
1429 1429
      */
@@ -1433,7 +1433,7 @@  discard block
 block discarded – undo
1433 1433
     }
1434 1434
 
1435 1435
     /**
1436
-     * @param $file
1436
+     * @param string $file
1437 1437
      *
1438 1438
      * @return string
1439 1439
      */
@@ -1461,7 +1461,7 @@  discard block
 block discarded – undo
1461 1461
     }
1462 1462
 
1463 1463
     /**
1464
-     * @param $size_str
1464
+     * @param string $size_str
1465 1465
      *
1466 1466
      * @return int
1467 1467
      */
@@ -1483,8 +1483,8 @@  discard block
 block discarded – undo
1483 1483
     }
1484 1484
 
1485 1485
     /**
1486
-     * @param $url
1487
-     * @param $tempfile
1486
+     * @param string $url
1487
+     * @param string $tempfile
1488 1488
      *
1489 1489
      * @return bool
1490 1490
      */
@@ -1559,7 +1559,7 @@  discard block
 block discarded – undo
1559 1559
     }
1560 1560
 
1561 1561
     /**
1562
-     * @param $file
1562
+     * @param string $file
1563 1563
      *
1564 1564
      * @return bool
1565 1565
      */
Please login to merge, or discard this patch.
publisher/class/utilities.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $file
54
-     * @param $folder
53
+     * @param string $file
54
+     * @param string $folder
55 55
      * @return bool
56 56
      */
57 57
     public static function copyFile($file, $folder)
Please login to merge, or discard this patch.
publisher/include/oninstall.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 /**
35 35
  * @param $xoopsModule
36 36
  *
37
- * @return bool|string
37
+ * @return boolean
38 38
  */
39 39
 function xoops_module_install_publisher(XoopsModule $xoopsModule)
40 40
 {
Please login to merge, or discard this patch.