Passed
Pull Request — master (#79)
by
unknown
02:20
created
src/Spinner/Container/Factory/ContainerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     {
26 26
         return
27 27
             new Container(
28
-                spawnerCreatorCb: $this->getSpawnerCreator(),
29
-                definitions: $this->registry->load(),
28
+                spawnerCreatorCb : $this->getSpawnerCreator(),
29
+                definitions : $this->registry->load(),
30 30
             );
31 31
     }
32 32
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         return
36 36
             $this->spawnerCreator
37 37
             ??
38
-            static function (ContainerInterface $container): IServiceSpawner {
38
+            static function(ContainerInterface $container): IServiceSpawner {
39 39
                 return
40 40
                     new ServiceSpawner($container);
41 41
             };
Please login to merge, or discard this patch.
src/Spinner/Core/Settings/Factory/DetectedSettingsFactory.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
                              */
74 74
                             public function createHandler(IDriver $driver, ILoop $loop): Closure
75 75
                             {
76
-                                return static function () use ($driver, $loop): void {
76
+                                return static function() use ($driver, $loop): void {
77 77
                                     $driver->interrupt();
78 78
                                     $loop->stop();
79 79
                                 };
Please login to merge, or discard this patch.
src/Spinner/Asynchronous/Revolt/RevoltLoopAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
         // Automatically run loop at the end of script, unless already started or stopped explicitly.
46 46
         // @codeCoverageIgnoreStart
47 47
         $hasRun = false;
48
-        EventLoop::defer(static function () use (&$hasRun): void {
48
+        EventLoop::defer(static function() use (&$hasRun): void {
49 49
             $hasRun = true;
50 50
         });
51 51
 
52 52
         /** @psalm-suppress UnsupportedPropertyReferenceUsage */
53 53
         $stopped = &self::$stopped;
54
-        register_shutdown_function(static function () use (&$hasRun, &$stopped): void {
54
+        register_shutdown_function(static function() use (&$hasRun, &$stopped): void {
55 55
             // Don't run if we're coming from a fatal error (uncaught exception).
56 56
             if (self::error()) { // See [889ad594-ca28-4770-bb38-fd5bd8cb1777].
57 57
                 return;
Please login to merge, or discard this patch.