Skip to content

Commit 9683575

Browse files
committed
Fix @var phpdoc
1 parent c838dad commit 9683575

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Tests/Controller/AbstractControllerTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function testFile()
233233
$controller = $this->createController();
234234
$controller->setContainer($container);
235235

236-
/* @var BinaryFileResponse $response */
236+
/** @var BinaryFileResponse $response */
237237
$response = $controller->file(new File(__FILE__));
238238
$this->assertInstanceOf(BinaryFileResponse::class, $response);
239239
$this->assertSame(200, $response->getStatusCode());
@@ -248,7 +248,7 @@ public function testFileAsInline()
248248
{
249249
$controller = $this->createController();
250250

251-
/* @var BinaryFileResponse $response */
251+
/** @var BinaryFileResponse $response */
252252
$response = $controller->file(new File(__FILE__), null, ResponseHeaderBag::DISPOSITION_INLINE);
253253

254254
$this->assertInstanceOf(BinaryFileResponse::class, $response);
@@ -264,7 +264,7 @@ public function testFileWithOwnFileName()
264264
{
265265
$controller = $this->createController();
266266

267-
/* @var BinaryFileResponse $response */
267+
/** @var BinaryFileResponse $response */
268268
$fileName = 'test.php';
269269
$response = $controller->file(new File(__FILE__), $fileName);
270270

@@ -281,7 +281,7 @@ public function testFileWithOwnFileNameAsInline()
281281
{
282282
$controller = $this->createController();
283283

284-
/* @var BinaryFileResponse $response */
284+
/** @var BinaryFileResponse $response */
285285
$fileName = 'test.php';
286286
$response = $controller->file(new File(__FILE__), $fileName, ResponseHeaderBag::DISPOSITION_INLINE);
287287

@@ -298,7 +298,7 @@ public function testFileFromPath()
298298
{
299299
$controller = $this->createController();
300300

301-
/* @var BinaryFileResponse $response */
301+
/** @var BinaryFileResponse $response */
302302
$response = $controller->file(__FILE__);
303303

304304
$this->assertInstanceOf(BinaryFileResponse::class, $response);
@@ -314,7 +314,7 @@ public function testFileFromPathWithCustomizedFileName()
314314
{
315315
$controller = $this->createController();
316316

317-
/* @var BinaryFileResponse $response */
317+
/** @var BinaryFileResponse $response */
318318
$response = $controller->file(__FILE__, 'test.php');
319319

320320
$this->assertInstanceOf(BinaryFileResponse::class, $response);

Tests/Functional/Bundle/TestBundle/TestBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function build(ContainerBuilder $container): void
2424
{
2525
parent::build($container);
2626

27-
/** @var $extension DependencyInjection\TestExtension */
27+
/** @var DependencyInjection\TestExtension $extension */
2828
$extension = $container->getExtension('test');
2929

3030
if (!$container->getParameterBag() instanceof FrozenParameterBag) {

0 commit comments

Comments
 (0)