Completed
Push — master ( c11aab...bdc4f1 )
by Julien
34:10 queued 23:44
created
app/Console/Commands/Youtube.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         if (!empty($channel)) {
49 49
             $manager = new \MongoDB\Driver\Manager("mongodb://localhost:27017");
50 50
             $collection = new \MongoDB\Collection($manager, "laravel.stats");
51
-            $collection->deleteMany([]);
51
+            $collection->deleteMany([ ]);
52 52
 
53 53
             $collection = new \MongoDB\Collection($manager, "laravel.stats");
54 54
             $stat = [
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
             'maxResults' => 30,
68 68
         ];
69 69
 
70
-        $videos = Yt::searchAdvanced($params, true)['results'];
70
+        $videos = Yt::searchAdvanced($params, true)[ 'results' ];
71 71
 
72 72
         if (!empty($videos)) {
73 73
             $collection = new \MongoDB\Collection($manager, "laravel.videos");
74
-            $collection->deleteMany([]);
74
+            $collection->deleteMany([ ]);
75 75
 
76 76
             foreach ($videos as $video) {
77 77
                 $collection = new \MongoDB\Collection($manager, "laravel.videos");
Please login to merge, or discard this patch.