mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-14 03:07:53 +01:00
Add void return to method in tests. (#20602)
This commit is contained in:
@@ -187,7 +187,7 @@ class RequestTest extends TestCase
|
||||
* @param array $expected
|
||||
* @param array|null $expectedException
|
||||
*/
|
||||
public function testResolve($params, $expected, $expectedException = null)
|
||||
public function testResolve($params, $expected, $expectedException = null): void
|
||||
{
|
||||
if (isset($expectedException)) {
|
||||
$this->expectException($expectedException[0]);
|
||||
|
||||
Reference in New Issue
Block a user