Completed
Branch dev (c992ef)
by Darko
06:17
created
misc/testing/DB/change_USP_provider.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
     return round((time() - strtotime($timestamp)) / 86400, 5);
63 63
 }
64 64
 
65
+/**
66
+ * @param integer $timestamp
67
+ */
65 68
 function daysOld($timestamp)
66 69
 {
67 70
     return round((time() - $timestamp) / 86400, 5);
Please login to merge, or discard this patch.
nntmux/Backfill.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * Backfill all the groups up to user specified time/date.
125 125
      *
126 126
      * @param string     $groupName
127
-     * @param string|int $articles
127
+     * @param string $articles
128 128
      * @param string     $type
129 129
      *
130 130
      * @return void
Please login to merge, or discard this patch.
nntmux/NZBExport.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
      * @param array $params
70 70
      *
71
-     * @return bool
71
+     * @return string|boolean
72 72
      */
73 73
     public function beginExport($params)
74 74
     {
Please login to merge, or discard this patch.
nntmux/Contents.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @param $content
158
+     * @param Content $content
159 159
      *
160 160
      * @return mixed
161 161
      */
Please login to merge, or discard this patch.
nntmux/XXX.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     /**
451 451
      * Get Genre id's Of the title.
452 452
      *
453
-     * @param $arr - Array or String
453
+     * @param string $arr - Array or String
454 454
      *
455 455
      * @return string - If array .. 1,2,3,4 if string .. 1
456 456
      */
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
     }
533 533
 
534 534
     /**
535
-     * @param $movie
535
+     * @param string $movie
536 536
      *
537 537
      * @return false|int|string
538 538
      * @throws \Exception
@@ -747,7 +747,7 @@  discard block
 block discarded – undo
747 747
     /**
748 748
      * Checks xxxinfo to make sure releases exist.
749 749
      *
750
-     * @param $releaseName
750
+     * @param string $releaseName
751 751
      * @return \Illuminate\Database\Eloquent\Model|null|static
752 752
      */
753 753
     protected function checkXXXInfoExists($releaseName)
Please login to merge, or discard this patch.
nntmux/Books.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param $title
117
+     * @param string $title
118 118
      * @return \Illuminate\Database\Eloquent\Model|null|static
119 119
      */
120 120
     public function getBookInfoByName($title)
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     }
341 341
 
342 342
     /**
343
-     * @param $title
343
+     * @param string $title
344 344
      *
345 345
      * @return bool|mixed
346 346
      * @throws \Exception
@@ -493,9 +493,9 @@  discard block
 block discarded – undo
493 493
     /**
494 494
      * @param $release_name
495 495
      * @param $releaseID
496
-     * @param $releasetype
496
+     * @param string $releasetype
497 497
      *
498
-     * @return bool|string
498
+     * @return false|string
499 499
      */
500 500
     public function parseTitle($release_name, $releaseID, $releasetype)
501 501
     {
Please login to merge, or discard this patch.
nntmux/ReleaseExtra.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * ReleaseExtra constructor.
22 22
      *
23
-     * @param null $settings
23
+     * @param DB $settings
24 24
      * @throws \Exception
25 25
      */
26 26
     public function __construct($settings = null)
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
 
332 332
     /**
333 333
      * @param $releaseID
334
-     * @param $uniqueid
334
+     * @param string $uniqueid
335 335
      */
336 336
     public function addUID($releaseID, $uniqueid): void
337 337
     {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 
377 377
     /**
378 378
      * @param $id
379
-     * @param $xml
379
+     * @param string $xml
380 380
      */
381 381
     public function addFull($id, $xml)
382 382
     {
Please login to merge, or discard this patch.
nntmux/Music.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
-     * @param $artist
111
-     * @param $album
110
+     * @param string $artist
111
+     * @param string $album
112 112
      * @return \Illuminate\Database\Eloquent\Model|null|static
113 113
      */
114 114
     public function getMusicInfoByName($artist, $album)
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     }
351 351
 
352 352
     /**
353
-     * @param      $title
353
+     * @param      string $title
354 354
      * @param      $year
355 355
      * @param null $amazdata
356 356
      *
@@ -747,9 +747,9 @@  discard block
 block discarded – undo
747 747
     }
748 748
 
749 749
     /**
750
-     * @param $nodeId
750
+     * @param string $nodeId
751 751
      *
752
-     * @return bool|string
752
+     * @return string|false
753 753
      */
754 754
     public function matchBrowseNode($nodeId)
755 755
     {
Please login to merge, or discard this patch.
misc/update/tmux/run.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
 echo ColorCLI::primary(number_format($ran).' collections reset.');
59 59
 sleep(2);
60 60
 
61
+/**
62
+ * @param string $pane
63
+ */
61 64
 function writelog($pane)
62 65
 {
63 66
     $path = NN_RES.'logs';
@@ -71,6 +74,9 @@  discard block
 block discarded – undo
71 74
     return '';
72 75
 }
73 76
 
77
+/**
78
+ * @param string $cmd
79
+ */
74 80
 function command_exist($cmd)
75 81
 {
76 82
     $returnVal = exec("which $cmd 2>/dev/null");
Please login to merge, or discard this patch.