Completed
Branch dev (c992ef)
by Darko
06:17
created
nntmux/Releases.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param array  $cat
83 83
      * @param int    $maxAge
84 84
      * @param array  $excludedCats
85
-     * @param string|int $groupName
85
+     * @param integer $groupName
86 86
      *
87 87
      * @return int
88 88
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @param string|array $orderBy
124 124
      * @param int    $maxAge
125 125
      * @param array  $excludedCats
126
-     * @param string|int $groupName
126
+     * @param integer $groupName
127 127
      * @param int    $minSize
128 128
      *
129 129
      * @return array
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
      * @param string $usenetName
643 643
      * @param string $posterName
644 644
      * @param string $fileName
645
-     * @param string|int $groupName
645
+     * @param integer $groupName
646 646
      * @param int $sizeFrom
647 647
      * @param int $sizeTo
648 648
      * @param int $hasNfo
@@ -651,7 +651,7 @@  discard block
 block discarded – undo
651 651
      * @param int $daysOld
652 652
      * @param int $offset
653 653
      * @param int $limit
654
-     * @param string|array $orderBy
654
+     * @param string $orderBy
655 655
      * @param int $maxAge
656 656
      * @param int|array $excludedCats
657 657
      * @param string $type
Please login to merge, or discard this patch.
nntmux/libraries/Forking.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     }
532 532
 
533 533
     /**
534
-     * @return int
534
+     * @return string|null
535 535
      * @throws \Exception
536 536
      */
537 537
     private function safeBinariesMainMethod()
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
607 607
 
608 608
     /**
609
-     * @return int|null|string
609
+     * @return integer
610 610
      * @throws \Exception
611 611
      */
612 612
     private function fixRelNamesMainMethod()
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
676 676
 
677 677
     /**
678
-     * @return null|string
678
+     * @return integer
679 679
      * @throws \Exception
680 680
      */
681 681
     private function releasesMainMethod()
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
     }
773 773
 
774 774
     /**
775
-     * @return int|null|string
775
+     * @return integer
776 776
      * @throws \Exception
777 777
      */
778 778
     private function postProcessAddMainMethod()
Please login to merge, or discard this patch.
nntmux/Console.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
     }
590 590
 
591 591
     /**
592
-     * @param $genreName
592
+     * @param boolean|string $genreName
593 593
      * @return false|int|string
594 594
      * @throws \Exception
595 595
      */
@@ -947,7 +947,7 @@  discard block
 block discarded – undo
947 947
     }
948 948
 
949 949
     /**
950
-     * @param $platform
950
+     * @param string $platform
951 951
      *
952 952
      * @return string
953 953
      */
@@ -1019,7 +1019,7 @@  discard block
 block discarded – undo
1019 1019
     }
1020 1020
 
1021 1021
     /**
1022
-     * @param $nodeName
1022
+     * @param string $nodeName
1023 1023
      *
1024 1024
      * @return bool|string
1025 1025
      */
Please login to merge, or discard this patch.
nntmux/Movie.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@
 block discarded – undo
609 609
     /**
610 610
      * Fetch IMDB/TMDB/TRAKT info for the movie.
611 611
      *
612
-     * @param $imdbId
612
+     * @param string $imdbId
613 613
      *
614 614
      * @return bool
615 615
      * @throws \Exception
Please login to merge, or discard this patch.
app/Models/Forumpost.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * Get forum posts for a parent category.
84 84
      *
85 85
      *
86
-     * @param $parent
86
+     * @param string|null $parent
87 87
      * @return \Illuminate\Database\Eloquent\Collection|\Illuminate\Support\Collection|static[]
88 88
      */
89 89
     public static function getPosts($parent)
Please login to merge, or discard this patch.
app/Models/Group.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * Get active backfill groups ordered by name ascending.
109 109
      *
110 110
      *
111
-     * @param $order
111
+     * @param string $order
112 112
      * @return array|\Illuminate\Database\Eloquent\Collection|static[]
113 113
      */
114 114
     public static function getActiveBackfill($order)
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      * Get all group columns by Name.
142 142
      *
143 143
      *
144
-     * @param $grp
144
+     * @param string $grp
145 145
      * @return \Illuminate\Database\Eloquent\Model|null|static
146 146
      */
147 147
     public static function getByName($grp)
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @param string $groupName The full name of the usenet group being evaluated
263 263
      *
264
-     * @return string|bool The name of the group replacing shorthand prefix or false if groupname was malformed
264
+     * @return string|false The name of the group replacing shorthand prefix or false if groupname was malformed
265 265
      */
266 266
     public static function isValidGroup($groupName)
267 267
     {
Please login to merge, or discard this patch.
app/Models/Menu.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param $role
26
-     * @param $serverurl
26
+     * @param string $serverurl
27 27
      * @return array
28 28
      */
29 29
     public static function getMenu($role, $serverurl): array
Please login to merge, or discard this patch.
nntmux/db/DB.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
     /**
500 500
      * Helper method for queryInsert and queryExec, checks for deadlocks.
501 501
      *
502
-     * @param $query
502
+     * @param string $query
503 503
      * @param bool $insert
504 504
      * @return array|\PDOStatement|string
505 505
      * @throws \RuntimeException
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
      * @param bool   $cache       Indicates if the query result should be cached.
629 629
      * @param int    $cacheExpiry The time in seconds before deleting the query result from the cache server.
630 630
      *
631
-     * @return array Array of results (possibly empty) on success, empty array on failure.
631
+     * @return string Array of results (possibly empty) on success, empty array on failure.
632 632
      */
633 633
     public function queryCalc($query, $cache = false, $cacheExpiry = 600): array
634 634
     {
@@ -1148,7 +1148,7 @@  discard block
 block discarded – undo
1148 1148
      *
1149 1149
      * @param int $attribute
1150 1150
      *
1151
-     * @return false|mixed
1151
+     * @return string
1152 1152
      */
1153 1153
     public function getAttribute($attribute)
1154 1154
     {
Please login to merge, or discard this patch.