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 2908f2a commit 4a45c6aCopy full SHA for 4a45c6a
StreamedResponse.php
@@ -123,6 +123,8 @@ public function setContent($content)
123
if (null !== $content) {
124
throw new \LogicException('The content cannot be set on a StreamedResponse instance.');
125
}
126
+
127
+ $this->streamed = true;
128
129
130
/**
@@ -134,16 +136,4 @@ public function getContent()
134
136
{
135
137
return false;
138
-
- /**
139
- * {@inheritdoc}
140
- *
141
- * @return $this
142
- */
143
- public function setNotModified()
144
- {
145
- $this->setCallback(function () {});
146
147
- return parent::setNotModified();
148
- }
149
0 commit comments