Completed
Branch master (865dd4)
by Phan
09:51
created
app/Http/Controllers/API/ProfileController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers\API;
4 4
 
5 5
 use App\Http\Requests\API\ProfileUpdateRequest;
6
-use App\Models\User;
7 6
 use Hash;
8 7
 
9 8
 class ProfileController extends Controller
Please login to merge, or discard this patch.
app/Models/File.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 getID3;
7 7
 use getid3_lib;
8 8
 use Illuminate\Support\Facades\Log;
9
-use Media;
10 9
 use SplFileInfo;
11 10
 use Symfony\Component\Finder\Finder;
12 11
 
Please login to merge, or discard this patch.
app/Services/Lastfm.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 use GuzzleHttp\Client;
7
-use Illuminate\Support\Facades\Cache;
8 7
 use Log;
9 8
 
10 9
 class Lastfm extends RESTfulService
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
                     'summary' => $this->formatText(array_get($album, 'wiki.summary')),
149 149
                     'full' => $this->formatText(array_get($album, 'wiki.content')),
150 150
                 ],
151
-                'tracks' => array_map(function ($track) {
151
+                'tracks' => array_map(function($track) {
152 152
                     return [
153 153
                         'title' => $track['name'],
154 154
                         'length' => (int) $track['duration'],
Please login to merge, or discard this patch.
app/Providers/LastfmServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        app()->singleton('Lastfm', function () {
27
+        app()->singleton('Lastfm', function() {
28 28
             return new Lastfm();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
app/Providers/iTunesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        app()->singleton('iTunes', function () {
27
+        app()->singleton('iTunes', function() {
28 28
             return new iTunes();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         Schema::defaultStringLength(191);
20 20
 
21 21
         // Add some custom validation rules
22
-        Validator::extend('path.valid', function ($attribute, $value, $parameters, $validator) {
22
+        Validator::extend('path.valid', function($attribute, $value, $parameters, $validator) {
23 23
             return is_dir($value) && is_readable($value);
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
app/Providers/MediaCacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        app()->singleton('MediaCache', function () {
27
+        app()->singleton('MediaCache', function() {
28 28
             return new MediaCache();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
app/Providers/UtilServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        app()->singleton('Util', function () {
27
+        app()->singleton('Util', function() {
28 28
             return new Util();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
app/Providers/YouTubeServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        app()->singleton('YouTube', function () {
27
+        app()->singleton('YouTube', function() {
28 28
             return new YouTube();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.