From d191ca821ece63200b62341d26c244904a8cc12b Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Mon, 14 Dec 2015 14:15:13 +0300 Subject: [PATCH] fix namespace ref --- flight/Flight.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/flight/Flight.php b/flight/Flight.php index 91e0047..2cbe4ae 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -17,12 +17,11 @@ * * Routing. * @method static void route($pattern, $callback) Maps a URL pattern to a callback. - * @method static flight\net\Router router() Returns Router instance. + * @method static \flight\net\Router router() Returns Router instance. * * Extending & Overriding. * @method static void map($name, $callback) Creates a custom framework method. - * @method static void register($name, $class, array $params = array(), $callback = null) Registers a class to a - * framework method. + * @method static void register($name, $class, array $params = array(), $callback = null) Registers a class to a framework method. * * Filtering. * @method static void before($name, $callback) Adds a filter before a framework method. @@ -36,11 +35,11 @@ * * Views. * @method static void render($file, array $data = null, $key = null) Renders a template file. - * @method static flight\template\View view() Returns View instance. + * @method static \flight\template\View view() Returns View instance. * * Request & Response. - * @method static flight\net\Request request() Returns Request instance. - * @method static flight\net\Response response() Returns Request instance. + * @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.