File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ public function __construct(array $config)
46
46
* If the handler returns false, then execution of handlers
47
47
* will stop. Any handlers that have not run, yet, will not
48
48
* be run.
49
+ *
50
+ * @param string $level
51
+ * @param string $message
49
52
*/
50
53
public function handle ($ level , $ message ): bool
51
54
{
Original file line number Diff line number Diff line change @@ -47,11 +47,8 @@ public function extensionsList()
47
47
48
48
/**
49
49
* @dataProvider extensionsList
50
- *
51
- * @param $ext
52
- * @param mixed $mime
53
50
*/
54
- public function testGuessExtensionFromType ($ expected , $ mime )
51
+ public function testGuessExtensionFromType (? string $ expected , string $ mime )
55
52
{
56
53
$ this ->assertSame ($ expected , Mimes::guessExtensionFromType ($ mime ));
57
54
}
@@ -84,11 +81,8 @@ public function mimesList()
84
81
85
82
/**
86
83
* @dataProvider mimesList
87
- *
88
- * @param mixed $expected
89
- * @param mixed $ext
90
84
*/
91
- public function testGuessTypeFromExtension ($ expected , $ ext )
85
+ public function testGuessTypeFromExtension (? string $ expected , string $ ext )
92
86
{
93
87
$ this ->assertSame ($ expected , Mimes::guessTypeFromExtension ($ ext ));
94
88
}
You can’t perform that action at this time.
0 commit comments