From 748c5a4bb6ca31cea0ffa887ce3cb955a6550a61 Mon Sep 17 00:00:00 2001 From: Evan Coury Date: Thu, 26 Jul 2012 17:12:56 -0700 Subject: [PATCH] Globally fix visibility issues for PSR2 php-cs-fixer fix . --fixers=visibility --- src/Console.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Console.php b/src/Console.php index 2c71dcf..5ab40f3 100644 --- a/src/Console.php +++ b/src/Console.php @@ -34,7 +34,7 @@ abstract class Console * @param null $forceAdapter Console\Adapter class name (can be absolute namespace or relative to Adapter\) * @return \Zend\Console\Adapter */ - static public function getInstance($forceAdapter = null, $forceCharset = null) + public static function getInstance($forceAdapter = null, $forceCharset = null) { /** * Create instance @@ -99,7 +99,7 @@ static public function getInstance($forceAdapter = null, $forceCharset = null) * @static * @return bool */ - static public function isWindows() + public static function isWindows() { return class_exists('COM',false); } @@ -110,7 +110,7 @@ static public function isWindows() * @static * @return bool */ - static public function isAnsicon() + public static function isAnsicon() { return getenv('ANSICON') !== false; } @@ -121,7 +121,7 @@ static public function isAnsicon() * @static * @return bool */ - static public function isConsole() + public static function isConsole() { return PHP_SAPI == 'cli'; } @@ -130,7 +130,7 @@ static public function isConsole() * @static * @return \Zend\Console\Adapter|null */ - static public function detectBestAdapter() + public static function detectBestAdapter() { // Check if we are in a console environment if (!static::isConsole()) {