@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * @param ContainerInterface $container |
108 | 108 | * |
109 | - * @return array |
|
109 | + * @return ServerRequestInterface |
|
110 | 110 | */ |
111 | 111 | private static function getCsrfSettings(ContainerInterface $container): array |
112 | 112 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | public static function configureContainer(LimoncelloContainerInterface $container): void |
42 | 42 | { |
43 | 43 | $storage = null; |
44 | - $factory = function (PsrContainerInterface $container) use (&$storage) { |
|
44 | + $factory = function(PsrContainerInterface $container) use (&$storage) { |
|
45 | 45 | if ($storage === null) { |
46 | 46 | $storage = static::createStorage($container); |
47 | 47 | } |
@@ -95,7 +95,7 @@ |
||
95 | 95 | $expectedRet = ResponseInterface::class; |
96 | 96 | assert( |
97 | 97 | $this->checkPublicStaticCallable($errorResponseMethod, $expectedArgs, $expectedRet) === true, |
98 | - 'CSRF error response method should have signature ' . |
|
98 | + 'CSRF error response method should have signature '. |
|
99 | 99 | '(ContainerInterface, ServerRequestInterface): ResponseInterface.' |
100 | 100 | ); |
101 | 101 |