Completed
Push — master ( aa61a6...a63e95 )
by Till
02:09
created
src/Executer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * Create a new command bus executer.
24 24
      *
25
-     * @param League\Tactician\CommandBus  $bus
25
+     * @param CommandBus  $bus
26 26
      */
27 27
     public function __construct(CommandBus $bus)
28 28
     {
Please login to merge, or discard this patch.
src/TacticianServiceProvider.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -45,12 +45,12 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function registerCommandBus()
47 47
     {
48
-        $this->app->singleton('League\Tactician\CommandBus', function ($app) {
48
+        $this->app->singleton('League\Tactician\CommandBus', function($app) {
49 49
             return $app->make('tactician.commandbus');
50 50
         });
51 51
 
52
-        $this->app->singleton('tactician.commandbus', function ($app) {
53
-            $middleware = array_map(function ($name) use ($app) {
52
+        $this->app->singleton('tactician.commandbus', function($app) {
53
+            $middleware = array_map(function($name) use ($app) {
54 54
                 return is_string($name) ? $app->make($name) : $name;
55 55
             }, $app->config->get('tactician.middleware'));
56 56
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     protected function registerCommandExecuter()
67 67
     {
68
-        $this->app->singleton('TillKruss\LaravelTactician\Contracts\Executer', function ($app) {
68
+        $this->app->singleton('TillKruss\LaravelTactician\Contracts\Executer', function($app) {
69 69
             return $app->make(TillKruss\LaravelTactician\Executer::class);
70 70
         });
71 71
     }
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
      */
78 78
     protected function registerCommandHandlerMiddleware()
79 79
     {
80
-        $this->app->bind('League\Tactician\Handler\CommandHandlerMiddleware', function ($app) {
80
+        $this->app->bind('League\Tactician\Handler\CommandHandlerMiddleware', function($app) {
81 81
             return $app->make('tactician.middleware.commandhandler');
82 82
         });
83 83
 
84
-        $this->app->bind('tactician.middleware.commandhandler', function ($app) {
84
+        $this->app->bind('tactician.middleware.commandhandler', function($app) {
85 85
             return new CommandHandlerMiddleware(
86 86
                 $app->make(CommandNameExtractor::class),
87 87
                 $app->make(HandlerLocator::class),
@@ -97,15 +97,15 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function bindTacticianInterfaces()
99 99
     {
100
-        $this->app->bind('League\Tactician\Handler\Locator\HandlerLocator', function ($app) {
100
+        $this->app->bind('League\Tactician\Handler\Locator\HandlerLocator', function($app) {
101 101
             return $app->make($app->config->get('tactician.locator'));
102 102
         });
103 103
 
104
-        $this->app->bind('League\Tactician\Handler\MethodNameInflector\MethodNameInflector', function ($app) {
104
+        $this->app->bind('League\Tactician\Handler\MethodNameInflector\MethodNameInflector', function($app) {
105 105
             return $app->make($app->config->get('tactician.inflector'));
106 106
         });
107 107
 
108
-        $this->app->bind('League\Tactician\Handler\CommandNameExtractor\CommandNameExtractor', function ($app) {
108
+        $this->app->bind('League\Tactician\Handler\CommandNameExtractor\CommandNameExtractor', function($app) {
109 109
             return $app->make($app->config->get('tactician.extractor'));
110 110
         });
111 111
     }
Please login to merge, or discard this patch.