Test Setup Failed
Branch master (90ed58)
by Phan
04:49
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/LastfmService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      *
202 202
      * @param string     $artist    The artist name
203 203
      * @param string     $track     The track name
204
-     * @param string|int $timestamp The UNIX timestamp
204
+     * @param integer $timestamp The UNIX timestamp
205 205
      * @param string     $album     The album name
206 206
      * @param string     $sk        The session key
207 207
      */
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      * @param string    $artist   Name of the artist
249 249
      * @param string    $track    Name of the track
250 250
      * @param string    $album    Name of the album
251
-     * @param int|float $duration Duration of the track, in seconds
251
+     * @param double $duration Duration of the track, in seconds
252 252
      * @param string    $sk       The session key
253 253
      */
254 254
     public function updateNowPlaying(string $artist, string $track, string $album, float $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
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         try {
40 40
             return $this->cache->remember(md5("itunes_track_url_{$term}{$album}{$artist}"), 24 * 60 * 7,
41
-                function () use ($term, $album, $artist): string {
41
+                function () use ($term, $album, $artist) : string {
42 42
                     $params = [
43 43
                         'term' => $term.($album ? " $album" : '').($artist ? " $artist" : ''),
44 44
                         'media' => 'music',
Please login to merge, or discard this patch.