Skip to content

Commit

Permalink
cast int to strings due to getAttributeFromUri typehinted return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Aug 30, 2024
1 parent 8d43dfb commit 1152b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/Server/Input/Parser/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function getUriParserMock(): UriParserInterface&MockObject
if ($map[2] instanceof \Exception) {
throw $map[2];
} else {
return $map[2];
return (string)$map[2];
}
}
}
Expand Down

0 comments on commit 1152b33

Please sign in to comment.