diff --git a/src/Routing/Route/RedirectRoute.php b/src/Routing/Route/RedirectRoute.php index b81a286945f..1fc62d7aa62 100644 --- a/src/Routing/Route/RedirectRoute.php +++ b/src/Routing/Route/RedirectRoute.php @@ -65,7 +65,7 @@ public function __construct($template, $defaults = [], array $options = []) * * @param string $url The URL to parse. * @param string $method The HTTP method being used. - * @return false|null False on failure. An exception is raised on a successful match. + * @return bool|null False on failure. An exception is raised on a successful match. * @throws \Cake\Routing\Exception\RedirectException An exception is raised on successful match. * This is used to halt route matching and signal to the middleware that a redirect should happen. */