Completed
Push — master ( a4a9d9...ba350c )
by Korvin
02:23
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/Console/Command/PackageCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function registerRoutes(RouteCollector $collector, Site $site = null)
38 38
     {
39
-        $collector->addGroup('package', function (RouteCollector $collector) {
39
+        $collector->addGroup('package', function(RouteCollector $collector) {
40 40
             // install
41 41
             $collector->addRoute(
42 42
                 'install',
Please login to merge, or discard this patch.
src/Client/Adapter/ModernAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function attach()
40 40
     {
41
-        $connection =  new ModernConnection();
41
+        $connection = new ModernConnection();
42 42
         $connection->connect($this->resolveApplication());
43 43
 
44 44
         return $connection;
Please login to merge, or discard this patch.
src/Service/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         }
17 17
 
18 18
         $this->success = (bool) $success;
19
-        $this->errors = (array)$errors;
19
+        $this->errors = (array) $errors;
20 20
     }
21 21
 
22 22
     /**
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
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $container = $this->getContainer();
53 53
 
54 54
         // Share the CLImate object
55
-        $container->share(CLImate::class, function () use ($container) {
55
+        $container->share(CLImate::class, function() use ($container) {
56 56
             return new CLImate();
57 57
         });
58 58
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         // Add the command bus
63 63
         $container->add(
64 64
             CommandBus::class,
65
-            function (ClassNameExtractor $extractor, HandlerLocator $locator, HandleClassNameInflector $inflector) {
65
+            function(ClassNameExtractor $extractor, HandlerLocator $locator, HandleClassNameInflector $inflector) {
66 66
                 $handlerMiddleware = new CommandHandlerMiddleware($extractor, $locator, $inflector);
67 67
 
68 68
                 return new CommandBus([$handlerMiddleware]);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                 ErrorHandler::class
79 79
             ]);
80 80
 
81
-        $container->share(Site::class, function () use ($container) {
81
+        $container->share(Site::class, function() use ($container) {
82 82
             $site = $container->get(Locator::class)->getLocation();
83 83
             if (!$site) {
84 84
                 $site = new Site();
Please login to merge, or discard this patch.