@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | protected function prepare(Request $request, Response $response) |
65 | 65 | { |
66 | - $response->setHeader('x-powered-by', 'suda/' . SUDA_VERSION, true); |
|
66 | + $response->setHeader('x-powered-by', 'suda/'.SUDA_VERSION, true); |
|
67 | 67 | $response->getWrapper()->register(ExceptionContentWrapper::class, [Throwable::class]); |
68 | 68 | $response->getWrapper()->register(TemplateWrapper::class, [RawTemplate::class]); |
69 | 69 | $this->setCatcher(new RequestDumpCatcher($this, $request, $response)); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | if (!$appResponse->isSend()) { |
127 | 127 | $appResponse->end(); |
128 | 128 | } |
129 | - $this->debug->info('responded with code ' . $appResponse->getStatus()); |
|
129 | + $this->debug->info('responded with code '.$appResponse->getStatus()); |
|
130 | 130 | $this->debug->timeEnd('sending response'); |
131 | 131 | } catch (Throwable $e) { |
132 | 132 | $this->debug->uncaughtException($e); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | public function request(array $method, string $name, string $url, array $attributes = []) |
150 | 150 | { |
151 | 151 | $route = $attributes['config'] ?? []; |
152 | - $runnable = RunnableRequestProcessor::class . '->onRequest'; |
|
152 | + $runnable = RunnableRequestProcessor::class.'->onRequest'; |
|
153 | 153 | if (array_key_exists('class', $route)) { |
154 | 154 | $attributes['class'] = $route['class']; |
155 | 155 | } elseif (array_key_exists('source', $route)) { |