Test Setup Failed
Pull Request — master (#623)
by Alejandro Carstens
04:15
created
app/Models/Setting.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
     /**
32 32
      * Set a setting (no pun) value.
33 33
      *
34
-     * @param string|array $key   The key of the setting, or an associative array of settings,
34
+     * @param string $key   The key of the setting, or an associative array of settings,
35 35
      *                            in which case $value will be discarded.
36
-     * @param mixed        $value
36
+     * @param string        $value
37 37
      */
38 38
     public static function set($key, $value = null)
39 39
     {
Please login to merge, or discard this patch.
app/Services/Lastfm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
      * @param string    $artist   Name of the artist
251 251
      * @param string    $track    Name of the track
252 252
      * @param string    $album    Name of the album
253
-     * @param int|float $duration Duration of the track, in seconds
253
+     * @param double $duration Duration of the track, in seconds
254 254
      * @param string    $sk       The session key
255 255
      *
256 256
      * @return bool
Please login to merge, or discard this patch.
app/Models/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * @param array $tags  The (selective) tags to sync (if the song exists)
190 190
      * @param bool  $force Whether to force syncing, even if the file is unchanged
191 191
      *
192
-     * @return bool|Song A Song object on success,
192
+     * @return integer A Song object on success,
193 193
      *                   true if file exists but is unmodified,
194 194
      *                   or false on an error.
195 195
      */
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      *
359 359
      * @throws \InvalidArgumentException
360 360
      *
361
-     * @return string|false The cover file's full path, or false if none found
361
+     * @return string The cover file's full path, or false if none found
362 362
      */
363 363
     private function getCoverFileUnderSameDirectory()
364 364
     {
Please login to merge, or discard this patch.
app/Services/Media.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
     /**
215 215
      * Generate a unique hash for a file path.
216 216
      *
217
-     * @param $path
217
+     * @param string $path
218 218
      *
219 219
      * @return string
220 220
      */
Please login to merge, or discard this patch.
app/Http/Controllers/API/SongController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * @param null|int  $bitRate   The target bit rate to transcode, defaults to OUTPUT_BIT_RATE.
29 29
      *                             Only taken into account if $transcode is truthy.
30 30
      *
31
-     * @return RedirectResponse|Redirector
31
+     * @return RedirectResponse|null
32 32
      */
33 33
     public function play(Request $request, Song $song, $transcode = null, $bitRate = null)
34 34
     {
Please login to merge, or discard this patch.
app/Services/Musixmatch.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
     
37 37
     /**
38
-     * @param App\Models\Song $song
38
+     * @param Song $song
39 39
      * 
40 40
      * @return mixed|null
41 41
      */
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param string $name
60 60
      * @param string $artistName
61 61
      * 
62
-     * @return mixed|false
62
+     * @return string
63 63
      */
64 64
     public function search(string $name, string $artistName = null)
65 65
     {
Please login to merge, or discard this patch.