Completed
Push — master ( 33ba9e...1e863f )
by Ivannis Suárez
05:17
created
Units/Middlewares/Handler/Resolver/HandlerMethodName/ChainResolverTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $this
49 49
             ->given($resolver = new ChainResolver([]))
50 50
             ->then()
51
-                ->exception(function () use ($resolver) {
51
+                ->exception(function() use ($resolver) {
52 52
                     $resolver->resolve(new LogoutUserMessage('[email protected]'));
53 53
                 })
54 54
                 ->isInstanceOf(NotFoundException::class)
Please login to merge, or discard this patch.
Tests/Units/Middlewares/Handler/Locator/LocatorTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             ->given($locator = $this->createLocator())
52 52
             ->and($handler = new LoginUserMessageListener())
53 53
             ->then()
54
-                ->exception(function () use ($locator, $handler) {
54
+                ->exception(function() use ($locator, $handler) {
55 55
                     $locator->addHandler(255, $handler);
56 56
                 })
57 57
                 ->isInstanceOf(\InvalidArgumentException::class)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $this
67 67
             ->given($locator = $this->createLocator())
68 68
             ->then()
69
-                ->exception(function () use ($locator) {
69
+                ->exception(function() use ($locator) {
70 70
                     $locator->locate(LoginUserMessage::class);
71 71
                 })
72 72
                 ->isInstanceOf(NotFoundException::class)
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                 ->object($locator->locate(LoginUserMessage::class))
81 81
                     ->isEqualTo($handler)
82 82
                 ->and()
83
-                ->exception(function () use ($locator) {
83
+                ->exception(function() use ($locator) {
84 84
                     $locator->locate('Foo');
85 85
                 })
86 86
                 ->isInstanceOf(NotFoundException::class)
Please login to merge, or discard this patch.
Tests/Units/Middlewares/Handler/Locator/InMemoryLocatorTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 //                    new InMemoryLocator([255 => $handler]);
45 45
 //                })
46 46
 //                ->isInstanceOf(\InvalidArgumentException::class)
47
-                ->exception(function () use ($handler) {
47
+                ->exception(function() use ($handler) {
48 48
                     new InMemoryLocator([LoginUserMessage::class => 255]);
49 49
                 })
50 50
                 ->isInstanceOf(\InvalidArgumentException::class)
Please login to merge, or discard this patch.