Completed
Push — master ( e87e4d...9e3d98 )
by Korvin
02:55
created
src/Route/RouteCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function addGroup($prefix, callable $callback)
43 43
     {
44
-        $this->collector->addGroup($prefix . ':', function (Collector $collector) use ($callback) {
44
+        $this->collector->addGroup($prefix . ':', function(Collector $collector) use ($callback) {
45 45
             return $callback(new RouteCollector($collector));
46 46
         });
47 47
     }
Please login to merge, or discard this patch.
src/Console/Console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         $site = $this->site;
74 74
         $cli = $this->container->get(CLImate::class);
75 75
 
76
-        $dispatcher = Dispatcher::simpleDispatcher(function (RouteCollector $routes) use ($site) {
76
+        $dispatcher = Dispatcher::simpleDispatcher(function(RouteCollector $routes) use ($site) {
77 77
             foreach ($this->collection->all() as $command) {
78 78
                 $command->registerRoutes($routes, $site);
79 79
             }
Please login to merge, or discard this patch.
src/Route/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public static function simpleDispatcher(callable $routeDefinitionCallback, array $options = [])
44 44
     {
45
-        return new static(simpleDispatcher(function (Collector $collector) use ($routeDefinitionCallback) {
45
+        return new static(simpleDispatcher(function(Collector $collector) use ($routeDefinitionCallback) {
46 46
             return $routeDefinitionCallback(new RouteCollector($collector));
47 47
         }, $options));
48 48
     }
Please login to merge, or discard this patch.
src/Provider/LeagueContainer/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $container = $this->getContainer();
40 40
 
41 41
         // Share the CLImate object
42
-        $container->share(CLImate::class, function () use ($container) {
42
+        $container->share(CLImate::class, function() use ($container) {
43 43
             return new CLImate();
44 44
         });
45 45
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         // Add the command bus
50 50
         $container->add(
51 51
             CommandBus::class,
52
-            function (ClassNameExtractor $extractor, HandlerLocator $locator, HandleClassNameInflector $inflector) {
52
+            function(ClassNameExtractor $extractor, HandlerLocator $locator, HandleClassNameInflector $inflector) {
53 53
                 $handlerMiddleware = new CommandHandlerMiddleware($extractor, $locator, $inflector);
54 54
 
55 55
                 return new CommandBus([$handlerMiddleware]);
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ->withArgument(Collection::class)
64 64
             ->withArgument(Site::class);
65 65
 
66
-        $container->share(Site::class, function () use ($container) {
66
+        $container->share(Site::class, function() use ($container) {
67 67
             $site = $container->get(Locator::class)->getLocation();
68 68
             if (!$site) {
69 69
                 $site = new Site();
Please login to merge, or discard this patch.