We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c318a commit fab92a7Copy full SHA for fab92a7
Tests/Kernel/ConcreteMicroKernel.php
@@ -33,7 +33,7 @@ class ConcreteMicroKernel extends Kernel implements EventSubscriberInterface
33
public function onKernelException(ExceptionEvent $event)
34
{
35
if ($event->getThrowable() instanceof Danger) {
36
- $event->setResponse(Response::create('It\'s dangerous to go alone. Take this ⚔'));
+ $event->setResponse(new Response('It\'s dangerous to go alone. Take this ⚔'));
37
}
38
39
0 commit comments