Test Setup Failed
Branch master (096eb7)
by Phan
03:51
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
     protected function mapWebRoutes()
49 49
     {
50 50
         Route::middleware('web')
51
-             ->namespace($this->namespace)
52
-             ->group(base_path('routes/web.php'));
51
+                ->namespace($this->namespace)
52
+                ->group(base_path('routes/web.php'));
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
app/Console/Commands/InitCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 use Exception;
9 9
 use Illuminate\Console\Command;
10 10
 use Illuminate\Contracts\Console\Kernel as Artisan;
11
-use Illuminate\Contracts\Hashing\Hasher	as Hash;
11
+use Illuminate\Contracts\Hashing\Hasher as Hash;
12 12
 use Illuminate\Database\DatabaseManager as DB;
13 13
 use Jackiedo\DotenvEditor\DotenvEditor;
14 14
 
Please login to merge, or discard this patch.
app/Console/Commands/SyncMediaCommand.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * Log a song's sync status to console.
101
+     * @param string $reason
101 102
      */
102 103
     public function logSyncStatusToConsole(string $path, int $result, ?string $reason = null): void
103 104
     {
Please login to merge, or discard this patch.
app/Factories/StreamerFactory.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -28,6 +28,10 @@
 block discarded – undo
28 28
         $this->transcodingService = $transcodingService;
29 29
     }
30 30
 
31
+    /**
32
+     * @param boolean $transcode
33
+     * @param integer $bitRate
34
+     */
31 35
     public function createStreamer(
32 36
         Song $song,
33 37
         ?bool $transcode = null,
Please login to merge, or discard this patch.
app/Services/Streamers/PHPStreamer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use DaveRandom\Resume\InvalidRangeHeaderException;
7 7
 use DaveRandom\Resume\NonExistentFileException;
8 8
 use DaveRandom\Resume\RangeSet;
9
-use DaveRandom\Resume\Resource;
10 9
 use DaveRandom\Resume\ResourceServlet;
11 10
 use DaveRandom\Resume\SendFileFailureException;
12 11
 use DaveRandom\Resume\UnreadableFileException;
Please login to merge, or discard this patch.
app/Services/LastfmService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      *
207 207
      * @param string     $artist    The artist name
208 208
      * @param string     $track     The track name
209
-     * @param string|int $timestamp The UNIX timestamp
209
+     * @param integer $timestamp The UNIX timestamp
210 210
      * @param string     $album     The album name
211 211
      * @param string     $sk        The session key
212 212
      */
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      * @param string    $artist   Name of the artist
254 254
      * @param string    $track    Name of the track
255 255
      * @param string    $album    Name of the album
256
-     * @param int|float $duration Duration of the track, in seconds
256
+     * @param double $duration Duration of the track, in seconds
257 257
      * @param string    $sk       The session key
258 258
      */
259 259
     public function updateNowPlaying(string $artist, string $track, string $album, $duration, string $sk): void
Please login to merge, or discard this patch.
app/Services/iTunesService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         try {
27 27
             return $this->cache->remember(md5("itunes_track_url_{$term}{$album}{$artist}"), 24 * 60 * 7,
28
-                function () use ($term, $album, $artist): ?string {
28
+                function () use ($term, $album, $artist) : ?string {
29 29
                     $params = [
30 30
                         'term' => $term.($album ? " $album" : '').($artist ? " $artist" : ''),
31 31
                         'media' => 'music',
Please login to merge, or discard this patch.