Skip to content

Commit 90456b2

Browse files
committed
test: remove nullable return type as it can't happen
1 parent 28ff0ac commit 90456b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/State/RespondProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testRedirectToOperation(): void
6767
$iriConverter = $this->prophesize(IriConverterInterface::class);
6868
$iriConverter
6969
->getIriFromResource(Argument::cetera())
70-
->will(static function (array $args): ?string {
70+
->will(static function (array $args): string {
7171
return ($args[2] ?? null)?->getUriTemplate() ?? '/default';
7272
});
7373

0 commit comments

Comments
 (0)