Completed
Pull Request — master (#23)
by
unknown
02:16
created
src/QwatcherServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Get the services provided by the provider.
65 65
      *
66
-     * @return array
66
+     * @return string[]
67 67
      */
68 68
     public function provides()
69 69
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Queue;
4 4
 use Illuminate\Support\ServiceProvider;
5
-use Illuminate\Support\Facades\Log;
6 5
 
7 6
 class QwatcherServiceProvider extends ServiceProvider
8 7
 {
Please login to merge, or discard this patch.
src/Tracks/TracksAbstract.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Illuminate\Queue\Queue;
4 4
 use Carbon\Carbon;
5
-use Maqe\Qwatcher\Tracks\Enums\StatusType;
6 5
 
7 6
 abstract class TracksAbstract extends Queue
8 7
 {
Please login to merge, or discard this patch.
src/Traits/WatchableDispatchesJobs.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Maqe\Qwatcher\Traits;
4 4
 
5
-use DB;
6 5
 use Illuminate\Contracts\Bus\Dispatcher;
7 6
 
8 7
 trait WatchableDispatchesJobs
Please login to merge, or discard this patch.
src/Qwatcher.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * Insert or update Track table depand on TracksInterface sub class
15 15
      *
16 16
      * @param  TracksInterface $tracks      Sub class that implements TracksInterface
17
-     * @return mixed
17
+     * @return TracksInterface
18 18
      */
19 19
     public function tracks(TracksInterface $tracks)
20 20
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Transform records in tracks collection
81 81
      *
82
-     * @param  Collection $tracks   The tracks collection
82
+     * @param  Collection $track   The tracks collection
83 83
      * @return Collection           The tracks collection after transform
84 84
      */
85 85
     protected function transform($track)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,8 @@
 block discarded – undo
1 1
 <?php namespace Maqe\Qwatcher;
2 2
 
3 3
 use Illuminate\Database\Eloquent\Builder;
4
-use Illuminate\Database\Eloquent\ModelNotFoundException;
5 4
 use Maqe\Qwatcher\Tracks\TracksInterface;
6 5
 use Maqe\Qwatcher\Tracks\Tracks;
7
-use Carbon\Carbon;
8 6
 
9 7
 class Qwatcher
10 8
 {
Please login to merge, or discard this patch.