@@ -41,7 +41,6 @@ discard block |
||
41 | 41 | * @param array $headers An array of response headers |
42 | 42 | * @param bool $public Files are public by default |
43 | 43 | * @param string|null $contentDisposition The type of Content-Disposition to set automatically with the filename |
44 | - * @param bool $autoEtag Whether the ETag header should be automatically set |
|
45 | 44 | * @param bool $autoLastModified Whether the Last-Modified header should be automatically set |
46 | 45 | */ |
47 | 46 | public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = [], $public = true, $contentDisposition = null, $autoLastModified = true) |
@@ -60,12 +59,11 @@ discard block |
||
60 | 59 | /** |
61 | 60 | * Sets the file to stream. |
62 | 61 | * |
63 | - * @param \SplFileInfo|string $file The file to stream |
|
62 | + * @param BinaryFile $file The file to stream |
|
64 | 63 | * @param string $contentDisposition |
65 | - * @param bool $autoEtag |
|
66 | 64 | * @param bool $autoLastModified |
67 | 65 | * |
68 | - * @return BinaryFileResponse |
|
66 | + * @return BinaryStreamResponse |
|
69 | 67 | */ |
70 | 68 | public function setFile($file, $contentDisposition = null, $autoLastModified = true) |
71 | 69 | { |
@@ -332,7 +332,7 @@ |
||
332 | 332 | } |
333 | 333 | |
334 | 334 | /** |
335 | - * @param mixed $locationId |
|
335 | + * @param integer $locationId |
|
336 | 336 | * @param bool $count |
337 | 337 | * |
338 | 338 | * @return \Doctrine\DBAL\Driver\Statement |