Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba3e5dd

Browse files
committed
Wrap the Response FQCN with quotes
1 parent 4250609 commit ba3e5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/HttpKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private function handleRaw(Request $request, int $type = self::MASTER_REQUEST)
157157
if ($event->hasResponse()) {
158158
$response = $event->getResponse();
159159
} else {
160-
$msg = sprintf('The controller must return a Symfony\Component\HttpFoundation\Response object but it returned %s.', $this->varToString($response));
160+
$msg = sprintf('The controller must return a "Symfony\Component\HttpFoundation\Response" object but it returned %s.', $this->varToString($response));
161161

162162
// the user may have forgotten to return something
163163
if (null === $response) {

0 commit comments

Comments
 (0)