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 7432b8b commit 67670d5Copy full SHA for 67670d5
src/Response.php
@@ -37,8 +37,8 @@ protected function pipelineAvailable()
37
38
protected function getContainer()
39
{
40
- if (function_exists("app")) {
41
- $this->container = app();
+ if (is_null($this->container) && class_exists(Container::class)) {
+ $this->container = Container::getInstance();
42
}
43
return $this->container;
44
0 commit comments