Skip to content

Commit 828a0de

Browse files
committed
fix PHP 8 compatibility
1 parent 32061e1 commit 828a0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Compiler/CheckTypeDeclarationsPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ public function testUnionTypeWithFalseFailsWithTrue()
916916
->setArguments([true]);
917917

918918
$this->expectException(\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException::class);
919-
$this->expectExceptionMessage('Invalid definition for service "union": argument 1 of "Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass\UnionConstructor::create()" accepts "array|false", "boolean" passed.');
919+
$this->expectExceptionMessage('Invalid definition for service "union": argument 1 of "Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass\UnionConstructor::create()" accepts "array|false", "bool" passed.');
920920

921921
(new CheckTypeDeclarationsPass(true))->process($container);
922922
}

0 commit comments

Comments
 (0)