Skip to content

Commit

Permalink
UrlGenerator docblocks: include DateInterval in signed route methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rdarcy1 committed Jan 8, 2019
1 parent 7ac84da commit 2b495b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UrlGenerator.php
Expand Up @@ -312,7 +312,7 @@ public function formatScheme($secure = null)
*
* @param string $name
* @param array $parameters
* @param \DateTimeInterface|int $expiration
* @param \DateTimeInterface|\DateInterval|int $expiration
* @param bool $absolute
* @return string
*/
Expand All @@ -337,7 +337,7 @@ public function signedRoute($name, $parameters = [], $expiration = null, $absolu
* Create a temporary signed route URL for a named route.
*
* @param string $name
* @param \DateTimeInterface|int $expiration
* @param \DateTimeInterface|\DateInterval|int $expiration
* @param array $parameters
* @param bool $absolute
* @return string
Expand Down

0 comments on commit 2b495b3

Please sign in to comment.