@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$dir = __DIR__ . '/../src'; |
|
| 3 | +$dir = __DIR__.'/../src'; |
|
| 4 | 4 | |
| 5 | 5 | $iterator = Symfony\Component\Finder\Finder::create() |
| 6 | 6 | ->files() |
@@ -10,8 +10,8 @@ discard block |
||
| 10 | 10 | $options = [ |
| 11 | 11 | 'theme' => 'default', |
| 12 | 12 | 'title' => 'Laravel Tactician API Documentation', |
| 13 | - 'build_dir' => __DIR__ . '/../build/laravelTactician', |
|
| 14 | - 'cache_dir' => __DIR__ . '/../cache/laravelTactician', |
|
| 13 | + 'build_dir' => __DIR__.'/../build/laravelTactician', |
|
| 14 | + 'cache_dir' => __DIR__.'/../cache/laravelTactician', |
|
| 15 | 15 | ]; |
| 16 | 16 | |
| 17 | 17 | $sami = new Sami\Sami($iterator, $options); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | // Register Command Generator |
| 32 | 32 | $this->app->singleton( |
| 33 | - 'laravel-tactician.make.command', function ($app) { |
|
| 33 | + 'laravel-tactician.make.command', function($app) { |
|
| 34 | 34 | return new MakeTacticianCommandCommand($app['files']); |
| 35 | 35 | } |
| 36 | 36 | ); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | // Register Handler Generator |
| 40 | 40 | $this->app->singleton( |
| 41 | - 'laravel-tactician.make.handler', function ($app) { |
|
| 41 | + 'laravel-tactician.make.handler', function($app) { |
|
| 42 | 42 | return new MakeTacticianHandlerCommand($app['files']); |
| 43 | 43 | } |
| 44 | 44 | ); |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | // Register Comman+Handler Generator Command |
| 48 | 48 | $this->app->singleton( |
| 49 | - 'laravel-tactician.make.tactician', function () { |
|
| 49 | + 'laravel-tactician.make.tactician', function() { |
|
| 50 | 50 | return new MakeTacticianCommand(); |
| 51 | 51 | } |
| 52 | 52 | ); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | public function execute($command, callable $next) |
| 22 | 22 | { |
| 23 | 23 | $pipeline = null; |
| 24 | - DB::transaction(function () use ($next, $command, &$pipeline) { |
|
| 24 | + DB::transaction(function() use ($next, $command, &$pipeline) { |
|
| 25 | 25 | $pipeline = $next($command); |
| 26 | 26 | }); |
| 27 | 27 | return $pipeline; |