Skip to content

Commit

Permalink
Merge pull request #36 from mezzio/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Lock file maintenance, improve `UrlHelper` input types
  • Loading branch information
Ocramius authored Jan 14, 2023
2 parents 374e16c + 5f8a3f3 commit 49b67ee
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 36 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
},
"require-dev": {
"laminas/laminas-coding-standard": "~2.5.0",
"phpunit/phpunit": "^9.5.26",
"psalm/plugin-phpunit": "^0.18.0",
"vimeo/psalm": "^5.0"
"phpunit/phpunit": "^9.5.28",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.4"
},
"conflict": {
"container-interop/container-interop": "<1.2.0",
Expand Down
64 changes: 32 additions & 32 deletions composer.lock

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

6 changes: 5 additions & 1 deletion src/UrlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

/**
* @final
* @psalm-import-type UrlGeneratorOptions from BaseHelper
*/
class UrlHelper extends AbstractHelper
{
Expand All @@ -22,10 +23,13 @@ public function __construct(private BaseHelper $helper)
/**
* Proxies to `Mezzio\Helper\UrlHelper::generate()`
*
* @param array $options Can have the following keys:
* @param array<string, mixed> $routeParams
* @param array<string, mixed> $queryParams
* @param array<string, mixed> $options Can have the following keys:
* - router (array): contains options to be passed to the router
* - reuse_result_params (bool): indicates if the current RouteResult
* parameters will be used, defaults to true
* @psalm-param UrlGeneratorOptions $options
* @return string
*/
public function __invoke(
Expand Down

0 comments on commit 49b67ee

Please sign in to comment.