From 26779efb76f5925c6b35f3a1b699b4c83b7245c6 Mon Sep 17 00:00:00 2001 From: rafageist Date: Thu, 4 Jul 2019 00:07:28 -0500 Subject: [PATCH] mutation --- src/ways.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/ways.php b/src/ways.php index bcecfd2..0f8826c 100644 --- a/src/ways.php +++ b/src/ways.php @@ -18,8 +18,11 @@ * http://www.gnu.org/licenses/gpl.txt. * * @author Rafa Rodriguez [@rafageist] - * @version 1.4 - * @link https://github.com/divengine/div-ways.git + * @version 2.0.0 + * @link https://divengine.com + * @link https://divengine.com/ways + * @link https://github.com/divengine/ways.git + * @link https://github.com/divengine/ways/wiki */ // Constants @@ -1360,7 +1363,7 @@ static function hook($moment, $controller, $call) * * @return mixed */ - final static function cop(&$source, $complement, $level = 0) + final public static function cop(&$source, $complement, $level = 0) { $null = null; @@ -1476,11 +1479,11 @@ static function redirect($way) } /** - * Return true if the script was executed in the CLI enviroment + * Return true if the script was executed in the CLI environment * * @return boolean */ - final static function isCli() + final public static function isCli() { if (self::$__is_cli === null) { self::$__is_cli = (!isset ($_SERVER ['SERVER_SOFTWARE']) && (php_sapi_name() == 'cli' || (is_numeric($_SERVER ['argc']) && $_SERVER ['argc'] > 0)));