Skip to content

Commit

Permalink
Replace implementation doc blocks with @inheritDoc
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jan 20, 2023
1 parent cc3d7c8 commit 50ee404
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions src/UrlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,7 @@ public function __construct(private RouterInterface $router)
{
}

/**
* Generate a URL based on a given route.
*
* @param array<string, mixed> $routeParams
* @param array<string, mixed> $queryParams
* @param UrlGeneratorOptions $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
* @throws Exception\RuntimeException For attempts to use the currently matched
* route but routing failed.
* @throws Exception\RuntimeException For attempts to use a matched result
* when none has been previously injected in the instance.
* @throws InvalidArgumentException For malformed fragment identifiers.
*/
/** @inheritDoc */
public function __invoke(
?string $routeName = null,
array $routeParams = [],
Expand Down Expand Up @@ -109,17 +95,7 @@ public function __invoke(
return $path;
}

/**
* Generate a URL based on a given route.
*
* Proxies to __invoke().
*
* @see UrlHelper::__invoke()
*
* @param array<string, mixed> $routeParams
* @param array<string, mixed> $queryParams
* @param UrlGeneratorOptions $options
*/
/** @inheritDoc */
public function generate(
?string $routeName = null,
array $routeParams = [],
Expand Down

0 comments on commit 50ee404

Please sign in to comment.