@@ -63,7 +63,7 @@ |
||
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 | { |
@@ -34,26 +34,26 @@ |
||
34 | 34 | public function register() |
35 | 35 | { |
36 | 36 | /** |
37 | - * publish migrations |
|
38 | - */ |
|
37 | + * publish migrations |
|
38 | + */ |
|
39 | 39 | $this->publishes([__DIR__ . '/../database/migrations' => database_path('migrations')], 'migrations'); |
40 | 40 | $this->publishes([__DIR__ . '/../config/qwatcher.php' => config_path('qwatcher.php')], 'config'); |
41 | 41 | |
42 | 42 | /** |
43 | - * merge config |
|
44 | - */ |
|
43 | + * merge config |
|
44 | + */ |
|
45 | 45 | $this->mergeConfigFrom(__DIR__ . '/../config/qwatcher.php', 'qwatcher'); |
46 | 46 | |
47 | 47 | /** |
48 | - * Register Facade |
|
49 | - */ |
|
48 | + * Register Facade |
|
49 | + */ |
|
50 | 50 | $this->app->bind('Qwatch', function () { |
51 | 51 | return (new Qwatcher); |
52 | 52 | }); |
53 | 53 | |
54 | 54 | /** |
55 | - * Register artisan Commands |
|
56 | - */ |
|
55 | + * Register artisan Commands |
|
56 | + */ |
|
57 | 57 | // $this->commands([ |
58 | 58 | // \Maqe\Qwatcher\Commands\SomeCommand1::class, |
59 | 59 | // \Maqe\Qwatcher\Commands\SomeCommand2::class |
@@ -14,7 +14,7 @@ discard block |
||
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 |
||
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) |