Skip to content

Commit 6eecb46

Browse files
Chricotfrommen
andauthored
Update tests/unit/Container/ReadOnlyContainerTest.php
Co-authored-by: Thorsten Frommen <[email protected]> Signed-off-by: Christian Leucht <[email protected]>
1 parent 9fec908 commit 6eecb46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/Container/ReadOnlyContainerTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ public function testServiceExtensionsBackwardCompatibility(): void
205205
public function testServiceExtensionsBackwardCompatibilityBreaksOnWrongType(): void
206206
{
207207
$this->expectException(\TypeError::class);
208-
/** @phpstan-ignore-next-line */
209-
new Container([], [], ServiceExtensions::class, []);
208+
$container = new Container([], [], ServiceExtensions::class, []);
210209
}
211210

212211
/**

0 commit comments

Comments
 (0)