Skip to content

Commit aca7827

Browse files
committed
Fix type hint ComponentTest::class.
1 parent 63b777e commit aca7827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/framework/base/ComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public function testEventClosureDetachesItself(): void
464464
class NewComponent extends Component
465465
{
466466
private ?\yiiunit\framework\base\NewComponent $_object = null;
467-
private string $_text = 'default';
467+
private string|null $_text = 'default';
468468
private array $_items = [];
469469
public $content;
470470

0 commit comments

Comments
 (0)