Skip to content

Commit 90d6e68

Browse files
committed
Fix namespace declaration and improve error handling in MultilineParamTagVariableResolutionTest
1 parent 6736b63 commit 90d6e68

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/TypeChecking/Boundaries/MultilineParamTagVariableResolutionTest.php‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
declare(strict_types=1);
44

5+
namespace TypePHP\Tests\TypeChecking\Boundaries;
6+
57
use TypePHP\Exception\TypeError;
68

79
/**
@@ -96,6 +98,7 @@ public function handle(array $payload): string
9698
;
9799

98100
expect(fn () => $service->handle(['mode' => 'unknown', 'foo' => 'bar']))
99-
->toThrow(TypeError::class, 'must be of type');
101+
->toThrow(TypeError::class, 'must be of type')
102+
;
100103
});
101104
});

0 commit comments

Comments
 (0)