Skip to content

Commit 8742bcc

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: fix PHP 8 compatibility
2 parents 631f46b + 828a0de commit 8742bcc

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)