Passed
Pull Request — master (#39)
by Daniel
02:27
created
packages/uuid-ramsey/src/Jellyfish/UuidRamsey/UuidRamseyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     protected function registerUuidFacade(Container $container): UuidRamseyServiceProvider
29 29
     {
30
-        $container->offsetSet(UuidConstants::FACADE, static function () {
30
+        $container->offsetSet(UuidConstants::FACADE, static function() {
31 31
             return new UuidRamseyFacade(new UuidRamseyFactory());
32 32
         });
33 33
 
Please login to merge, or discard this patch.
packages/event/src/Jellyfish/Event/EventServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     protected function registerEventFactory(Container $container): EventServiceProvider
145 145
     {
146
-        $container->offsetSet(EventConstants::CONTAINER_KEY_EVENT_FACTORY, static function (Container $container) {
146
+        $container->offsetSet(EventConstants::CONTAINER_KEY_EVENT_FACTORY, static function(Container $container) {
147 147
             return new EventFactory($container->offsetGet(UuidConstants::FACADE));
148 148
         });
149 149
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
         $container->offsetSet(
163 163
             EventConstants::CONTAINER_KEY_EVENT_DISPATCHER,
164
-            static function (Container $container) use ($self) {
164
+            static function(Container $container) use ($self) {
165 165
                 return new EventDispatcher(
166 166
                     new EventListenerProvider(),
167 167
                     $self->createEventQueueProducer($container)
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     {
182 182
         $self = $this;
183 183
 
184
-        $container->extend('commands', static function (array $commands, Container $container) use ($self) {
184
+        $container->extend('commands', static function(array $commands, Container $container) use ($self) {
185 185
             $commands[] = new EventQueueConsumeCommand(
186 186
                 $container->offsetGet('event_dispatcher')->getEventListenerProvider(),
187 187
                 $self->createEventQueueConsumer($container),
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      */
207 207
     protected function registerDefaultEventErrorHandlers(Container $container): EventServiceProvider
208 208
     {
209
-        $container->offsetSet(EventConstants::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function () {
209
+        $container->offsetSet(EventConstants::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function() {
210 210
             return [];
211 211
         });
212 212
 
Please login to merge, or discard this patch.
packages/http-league/src/Jellyfish/HttpLeague/HttpLeagueServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function registerFacade(Container $container): Container
36 36
     {
37
-        $container->offsetSet(HttpConstants::FACADE, static function () {
37
+        $container->offsetSet(HttpConstants::FACADE, static function() {
38 38
             $httpLeagueFactory = new HttpLeagueFactory();
39 39
 
40 40
             return new HttpLeagueFacade($httpLeagueFactory);
Please login to merge, or discard this patch.
packages/scheduler/src/Jellyfish/Scheduler/SchedulerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     protected function registerSchedulerFacade(Container $container): SchedulerServiceProvider
31 31
     {
32
-        $container->offsetSet(SchedulerConstants::FACADE, static function (Container $container) {
32
+        $container->offsetSet(SchedulerConstants::FACADE, static function(Container $container) {
33 33
             $schedulerFactory = new SchedulerFactory($container->offsetGet(ProcessConstants::FACADE));
34 34
 
35 35
             return new SchedulerFacade($schedulerFactory);
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function registerCommands(Container $container): SchedulerServiceProvider
47 47
     {
48
-        $container->extend('commands', static function (array $commands, Container $container) {
48
+        $container->extend('commands', static function(array $commands, Container $container) {
49 49
             $commands[] = new RunSchedulerCommand(
50 50
                 $container->offsetGet(SchedulerConstants::FACADE),
51 51
                 $container->offsetGet('lock_factory'),
Please login to merge, or discard this patch.
src/Jellyfish/ProcessSymfony/ProcessSymfonyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     protected function registerProcessFacade(Container $container): ProcessSymfonyServiceProvider
29 29
     {
30
-        $container->offsetSet(ProcessConstants::FACADE, static function () {
30
+        $container->offsetSet(ProcessConstants::FACADE, static function() {
31 31
             return new ProcessSymfonyFacade(new ProcessSymfonyFactory());
32 32
         });
33 33
 
Please login to merge, or discard this patch.