@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function boot() |
15 | 15 | { |
16 | - Queue::before(function ($job) { |
|
16 | + Queue::before(function($job) { |
|
17 | 17 | \Maqe\Qwatcher\Facades\Qwatch::process($job->job->getJobId(), $job->job); |
18 | 18 | }); |
19 | 19 | |
20 | - Queue::after(function ($job) { |
|
20 | + Queue::after(function($job) { |
|
21 | 21 | \Maqe\Qwatcher\Facades\Qwatch::succeed($job->job->getJobId(), $job->job); |
22 | 22 | }); |
23 | 23 | |
@@ -36,18 +36,18 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * publish migrations |
38 | 38 | */ |
39 | - $this->publishes([__DIR__ . '/../database/migrations' => database_path('migrations')], 'migrations'); |
|
40 | - $this->publishes([__DIR__ . '/../config/qwatcher.php' => config_path('qwatcher.php')], 'config'); |
|
39 | + $this->publishes([__DIR__.'/../database/migrations' => database_path('migrations')], 'migrations'); |
|
40 | + $this->publishes([__DIR__.'/../config/qwatcher.php' => config_path('qwatcher.php')], 'config'); |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * merge config |
44 | 44 | */ |
45 | - $this->mergeConfigFrom(__DIR__ . '/../config/qwatcher.php', 'qwatcher'); |
|
45 | + $this->mergeConfigFrom(__DIR__.'/../config/qwatcher.php', 'qwatcher'); |
|
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Register Facade |
49 | 49 | */ |
50 | - $this->app->bind('Qwatch', function () { |
|
50 | + $this->app->bind('Qwatch', function() { |
|
51 | 51 | return (new Qwatcher); |
52 | 52 | }); |
53 | 53 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('tracks', function (Blueprint $table) { |
|
16 | + Schema::create('tracks', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('driver'); |
19 | 19 | $table->integer('queue_id'); |