@@ -17,23 +17,23 @@ discard block |
||
17 | 17 | return [ |
18 | 18 | [ |
19 | 19 | 'key' => new Typed(ServerRequestInterface::class), |
20 | - 'value' => ParameterWire::post(function () { |
|
20 | + 'value' => ParameterWire::post(function() { |
|
21 | 21 | return RequestMatcher::getRequest(); |
22 | 22 | }) |
23 | 23 | ], |
24 | 24 | [ |
25 | 25 | 'key' => new Named('urlPattern'), |
26 | - 'value' => ParameterWire::post(function () { |
|
26 | + 'value' => ParameterWire::post(function() { |
|
27 | 27 | return RequestMatcher::getPatternedUrl(); |
28 | 28 | }) |
29 | 29 | ], |
30 | 30 | [ |
31 | 31 | 'key' => new TypedAndNamed('array', 'urlVariable'), |
32 | - 'value' => ParameterWire::post(function () { |
|
32 | + 'value' => ParameterWire::post(function() { |
|
33 | 33 | return RequestMatcher::getUrlNameMatching(); |
34 | 34 | }) |
35 | 35 | ], |
36 | - ParameterWire::postCallback(function () { |
|
36 | + ParameterWire::postCallback(function() { |
|
37 | 37 | $result = []; |
38 | 38 | foreach (RequestMatcher::getUrlNameMatching() as $name => $value) { |
39 | 39 | $result[] = [ |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | }), |
46 | 46 | [ |
47 | 47 | 'key' => new Typed(ProcInterface::class), |
48 | - 'value' => ParameterWire::post(function () { |
|
48 | + 'value' => ParameterWire::post(function() { |
|
49 | 49 | return RequestMatcher::getControllerProc(); |
50 | 50 | }) |
51 | 51 | ], |
@@ -55,19 +55,19 @@ discard block |
||
55 | 55 | ], |
56 | 56 | [ |
57 | 57 | 'key' => new Typed(AccountManagerInterface::class), |
58 | - 'value' => ParameterWire::post(function () { |
|
58 | + 'value' => ParameterWire::post(function() { |
|
59 | 59 | return AuthManager::getAccountManager(); |
60 | 60 | }) |
61 | 61 | ], |
62 | 62 | [ |
63 | 63 | 'key' => new Typed(LoginManagerInterface::class), |
64 | - 'value' => ParameterWire::post(function () { |
|
64 | + 'value' => ParameterWire::post(function() { |
|
65 | 65 | return AuthManager::getLoginManager(); |
66 | 66 | }) |
67 | 67 | ], |
68 | 68 | [ |
69 | 69 | 'key' => new Typed(EntityManagerInterface::class), |
70 | - 'value' => ParameterWire::post(function () { |
|
70 | + 'value' => ParameterWire::post(function() { |
|
71 | 71 | return DatabaseManager::getEntityManager(); |
72 | 72 | }) |
73 | 73 | ], |