Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 7d840a5

Browse files
committed
Merge pull request #40 in master
2 parents ef56cf3 + a9a850f commit 7d840a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controller/Plugin/Redirect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Redirect extends AbstractPlugin
2323
protected $response;
2424

2525
/**
26-
* Generates a URL based on a route
26+
* Generate redirect response based on given route
2727
*
2828
* @param string $route RouteInterface name
2929
* @param array $params Parameters to use in url generation, if any
@@ -52,7 +52,7 @@ public function toRoute($route = null, $params = [], $options = [], $reuseMatche
5252
}
5353

5454
/**
55-
* Redirect to the given URL
55+
* Generate redirect response based on given URL
5656
*
5757
* @param string $url
5858
* @return Response

0 commit comments

Comments
 (0)