Skip to content

Commit d4d8ad8

Browse files
committed
Fix MimesTest flagged by no_superfluous_phpdoc
1 parent 860091f commit d4d8ad8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/system/Config/MimesTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,8 @@ public function extensionsList()
4747

4848
/**
4949
* @dataProvider extensionsList
50-
*
51-
* @param $ext
52-
* @param mixed $mime
5350
*/
54-
public function testGuessExtensionFromType($expected, $mime)
51+
public function testGuessExtensionFromType(?string $expected, string $mime)
5552
{
5653
$this->assertSame($expected, Mimes::guessExtensionFromType($mime));
5754
}
@@ -84,11 +81,8 @@ public function mimesList()
8481

8582
/**
8683
* @dataProvider mimesList
87-
*
88-
* @param mixed $expected
89-
* @param mixed $ext
9084
*/
91-
public function testGuessTypeFromExtension($expected, $ext)
85+
public function testGuessTypeFromExtension(?string $expected, string $ext)
9286
{
9387
$this->assertSame($expected, Mimes::guessTypeFromExtension($ext));
9488
}

0 commit comments

Comments
 (0)