Skip to content

Commit 99cabbd

Browse files
committed
fix
1 parent 9ec09fa commit 99cabbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/ParameterDefinitionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ public function testNotResolveIntersectionType(): void
441441

442442
$this->assertInstanceOf(NotInstantiableException::class, $exception);
443443
$this->assertStringStartsWith(
444-
'Can not determine value of the "class" parameter of type "Yiisoft\Definitions\Tests\Support\GearBox&stdClass" when instantiating "Yiisoft\Definitions\Tests\Unit\ParameterDefinitionTest::{closure',
444+
'Can not determine value of the "class" parameter of type "Yiisoft\Definitions\Tests\Support\GearBox&stdClass" when instantiating "Yiisoft\Definitions\Tests\Unit\ParameterDefinitionTest::',
445445
$exception->getMessage(),
446446
);
447-
$this->assertStringEndsWith('()". Please specify argument explicitly.', $exception->getMessage());
447+
$this->assertStringEndsWith('}()". Please specify argument explicitly.', $exception->getMessage());
448448
}
449449

450450
/**

0 commit comments

Comments
 (0)