Skip to content

Commit

Permalink
mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Jul 4, 2019
1 parent b10f793 commit 26779ef
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/ways.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@
* http://www.gnu.org/licenses/gpl.txt.
*
* @author Rafa Rodriguez [@rafageist] <[email protected]>
* @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
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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)));
Expand Down

0 comments on commit 26779ef

Please sign in to comment.