Skip to content

Commit

Permalink
Fix incorrect docblock on psalm-type FastRouteFoundResult
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <george@net-glue.co.uk>
  • Loading branch information
gsteel committed May 5, 2023
1 parent bb78b62 commit b83a2c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"laminas/laminas-diactoros": "^3.0.0",
"laminas/laminas-stratigility": "^3.9",
"mikey179/vfsstream": "^1.6.11",
"phpunit/phpunit": "^10.1.1",
"phpunit/phpunit": "^10.1.2",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.9"
"vimeo/psalm": "^5.11"
},
"conflict": {
"container-interop/container-interop": "<1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.8.0@9cf4f60a333f779ad3bc704a555920e81d4fdcda">
<files psalm-version="5.11.0@c9b192ab8400fdaf04b2b13d110575adc879aa90">
<file src="src/FastRouteRouter.php">
<InvalidArgument>
<code>static function (): void {
Expand Down
2 changes: 1 addition & 1 deletion src/FastRouteRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* @psalm-type FastRouteFoundResult = array{
* 0: Dispatcher::FOUND,
* 1: non-empty-string,
* 2: list<string, mixed>
* 2: array<string, mixed>
* }
* @psalm-type FastRouteResult = FastRouteNotFoundResult|FastRouteBadMethodResult|FastRouteFoundResult
*/
Expand Down

0 comments on commit b83a2c3

Please sign in to comment.