🔧
This commit is contained in:
@@ -33,7 +33,7 @@ class StreamedResponse extends Response
|
||||
/**
|
||||
* @param int $status The HTTP status code (200 "OK" by default)
|
||||
*/
|
||||
public function __construct(callable $callback = null, int $status = 200, array $headers = [])
|
||||
public function __construct(?callable $callback = null, int $status = 200, array $headers = [])
|
||||
{
|
||||
parent::__construct(null, $status, $headers);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user