8000 [FrameworkBundle] fix argument type docblock · symfony/symfony@c4e440c · GitHub
[go: up one dir, main page]

Skip to content

Commit c4e440c

Browse files
committed
[FrameworkBundle] fix argument type docblock
1 parent 92d80c9 commit c4e440c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1515
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
1616
use Symfony\Component\HttpFoundation\BinaryFileResponse;
17-
use Symfony\Component\HttpFoundation\File\File;
1817
use Symfony\Component\HttpFoundation\JsonResponse;
1918
use Symfony\Component\HttpFoundation\Response;
2019
use Symfony\Component\HttpFoundation\RedirectResponse;
@@ -129,9 +128,9 @@ protected function json($data, $status = 200, $headers = array(), $context = arr
129128
/**
130129
* Returns a BinaryFileResponse object with original or customized file name and disposition header.
131130
*
132-
* @param File|string $file File object or path to file to be sent as response
133-
* @param string|null $fileName File name to be sent to response or null (will use original file name)
134-
* @param string $disposition Disposition of response ("attachment" is default, other type is "inline")
131+
* @param \SplFileInfo|string $file File object or path to file to be sent as response
132+
* @param string|null $fileName File name to be sent to response or null (will use original file name)
133+
* @param string $disposition Disposition of response ("attachment" is default, other type is "inline")
135134
*
136135
* @return BinaryFileResponse
137136
*/

0 commit comments

Comments
 (0)
0