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 f0fd8d2 commit deaff2cCopy full SHA for deaff2c
src/Symfony/Component/HttpFoundation/BinaryFileResponse.php
@@ -130,7 +130,7 @@ public function getFile()
130
*
131
* @return $this
132
*/
133
- public function setChunkSize(int $chunkSize)
+ public function setChunkSize(int $chunkSize): self
134
{
135
if ($chunkSize < 1 || $chunkSize > \PHP_INT_MAX) {
136
throw new \LogicException('The chunk size of a BinaryFileResponse cannot be less than 1 or greater than PHP_INT_MAX.');
0 commit comments