Skip to content

Commit 915282b

Browse files
committed
initialize protected callback property with null
1 parent 59b567e commit 915282b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StreamedResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
class StreamedResponse extends Response
2828
{
29-
protected \Closure $callback;
29+
protected ?\Closure $callback = null;
3030
protected bool $streamed = false;
3131

3232
private bool $headersSent = false;

0 commit comments

Comments
 (0)