From b187f3564f298128b2989d3dd040ef1243892535 Mon Sep 17 00:00:00 2001 From: Yuriy Tkachenko Date: Tue, 7 Apr 2015 11:34:01 +0300 Subject: [PATCH] Correct PHPDoc for phpStorm make phpStorm correctly identify has and get functions --- flight/Flight.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/Flight.php b/flight/Flight.php index 6281eea..74dc4a5 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -14,9 +14,9 @@ * @method static void before($name, $callback) Adds a filter before a framework method. * @method static void after($name, $callback) Adds a filter after a framework method. * @method static void path($path) Adds a path for autoloading classes. - * @method static void get($key) Gets a variable. + * @method static mixed get($key) Gets a variable. * @method static void set($key, $value) Sets a variable. - * @method static void has($key) Checks if a variable is set. + * @method static bool has($key) Checks if a variable is set. * @method static void clear($key = null) Clears a variable. * @method static void start() Starts the framework. * @method static void stop() Stops the framework and sends a response.