@@ -48,7 +48,7 @@ |
||
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) |
@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 |
||
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) |
@@ -44,7 +44,7 @@ |
||
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) |