Skip to content

Commit

Permalink
security: Bump cuyz/valinor to ^0.7.0 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven authored Apr 21, 2022
1 parent 2bccc26 commit 054fae2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"require": {
"php": "^7.4.7|^8.0",
"cuyz/valinor": "^0.6.0",
"cuyz/valinor": "^0.7.0",
"sensio/framework-extra-bundle": "^5.6",
"symfony/event-dispatcher": "^5.2",
"symfony/http-kernel": "^5.2"
Expand All @@ -35,6 +35,6 @@
"psalm/plugin-phpunit": "^0.16.1",
"psalm/plugin-symfony": "^3.1",
"roave/infection-static-analysis-plugin": "^1.18",
"vimeo/psalm": "^4.7"
"vimeo/psalm": "^4.22"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ protected function getData(Request $request, ParamConverter $configuration): Jso
protected function getMapperBuilder(): MapperBuilder
{
return parent::getMapperBuilder()
->bind(static fn (string $id): StubId => StubId::fromString($id));
->registerConstructor([StubId::class, 'fromString']);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ protected function getData(Request $request, ParamConverter $configuration)
protected function getMapperBuilder(): MapperBuilder
{
return parent::getMapperBuilder()
->bind(static fn (string $id): StubId => StubId::fromString($id));
->registerConstructor([StubId::class, 'fromString']);
}
}

0 comments on commit 054fae2

Please sign in to comment.