From 561542f0682ce88ec518f1a7ceca24395b6c7066 Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Mon, 14 Dec 2015 13:10:46 +0300 Subject: [PATCH] Redirects > Request & Response --- flight/Flight.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flight/Flight.php b/flight/Flight.php index 2903d6d..91e0047 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -38,12 +38,10 @@ * @method static void render($file, array $data = null, $key = null) Renders a template file. * @method static flight\template\View view() Returns View instance. * - * Redirects. - * @method static void redirect($url, $code = 303) Redirects to another URL. - * * Request & Response. * @method static flight\net\Request request() Returns Request instance. * @method static flight\net\Response response() Returns Request instance. + * @method static void redirect($url, $code = 303) Redirects to another URL. * @method static void json($data, $code = 200, $encode = true) Sends a JSON response. * @method static void jsonp($data, $param = 'jsonp', $code = 200, $encode = true) Sends a JSONP response. * @method static void error($exception) Sends an HTTP 500 response.