Add void return to method in tests. (#20602)

This commit is contained in:
Wilmer Arambula
2025-10-14 06:37:35 -03:00
committed by GitHub
parent 30824c5dcf
commit d71f7309ae
249 changed files with 2749 additions and 2538 deletions

View File

@@ -30,7 +30,7 @@ class LinkSorterTest extends DatabaseTestCase
$this->mockWebApplication();
}
public function testLabelsSimple()
public function testLabelsSimple(): void
{
$dataProvider = new ActiveDataProvider([
'query' => Order::find(),
@@ -58,7 +58,7 @@ class LinkSorterTest extends DatabaseTestCase
));
}
public function testLabelsExplicit()
public function testLabelsExplicit(): void
{
$dataProvider = new ActiveDataProvider([
'query' => Order::find(),
@@ -90,7 +90,7 @@ class LinkSorterTest extends DatabaseTestCase
/**
* @see https://github.com/yiisoft/yii2/issues/15536
*/
public function testShouldTriggerInitEvent()
public function testShouldTriggerInitEvent(): void
{
$initTriggered = false;
new LinkSorter(