File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ private function writeNoRouteError(ServerRequestInterface $request): ResponseInt
8181 'meta ' => [
8282 'twirp_invalid_route ' => $ request ->getMethod ().' ' .$ request ->getUri ()->getPath (),
8383 ],
84- ]));
84+ ], \ JSON_THROW_ON_ERROR ));
8585
8686 return $ this ->responseFactory
8787 ->createResponse ($ statusCode )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ private function writeNoRouteError(ServerRequestInterface $request): ResponseInt
7878 'meta ' => [
7979 'twirp_invalid_route ' => $ request ->getMethod ().' ' .$ request ->getUri ()->getPath (),
8080 ],
81- ]));
81+ ], \ JSON_THROW_ON_ERROR ));
8282
8383 return $ this ->responseFactory
8484 ->createResponse ($ statusCode )
Original file line number Diff line number Diff line change @@ -258,18 +258,6 @@ parameters:
258258 count : 1
259259 path : lib/src/Context.php
260260
261- -
262- message : ' #^Parameter \#1 \$content of method Psr\\Http\\Message\\StreamFactoryInterface\:\:createStream\(\) expects string, string\|false given\.$#'
263- identifier : argument.type
264- count : 1
265- path : lib/src/Router.php
266-
267- -
268- message : ' #^Parameter \#1 \$content of method Psr\\Http\\Message\\StreamFactoryInterface\:\:createStream\(\) expects string, string\|false given\.$#'
269- identifier : argument.type
270- count : 1
271- path : lib/src/Server.php
272-
273261 -
274262 message : ' #^Method Twirp\\ServerHooks\:\:error\(\) has parameter \$ctx with no value type specified in iterable type array\.$#'
275263 identifier : missingType.iterableValue
You can’t perform that action at this time.
0 commit comments