mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Add void return to method in tests. (#20602)
This commit is contained in:
@ -15,7 +15,7 @@ use yiiunit\TestCase;
|
||||
|
||||
class PjaxTest extends TestCase
|
||||
{
|
||||
public function testGeneratedIdByPjaxWidget()
|
||||
public function testGeneratedIdByPjaxWidget(): void
|
||||
{
|
||||
ListView::$counter = 0;
|
||||
Pjax::$counter = 0;
|
||||
@ -43,7 +43,7 @@ class PjaxTest extends TestCase
|
||||
/**
|
||||
* @see https://github.com/yiisoft/yii2/issues/15536
|
||||
*/
|
||||
public function testShouldTriggerInitEvent()
|
||||
public function testShouldTriggerInitEvent(): void
|
||||
{
|
||||
$initTriggered = false;
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user