Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Globally fix visibility issues for PSR2
Browse files Browse the repository at this point in the history
php-cs-fixer fix . --fixers=visibility
  • Loading branch information
EvanDotPro committed Jul 27, 2012
1 parent fc6ee1f commit 748c5a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
Expand All @@ -110,7 +110,7 @@ static public function isWindows()
* @static
* @return bool
*/
static public function isAnsicon()
public static function isAnsicon()
{
return getenv('ANSICON') !== false;
}
Expand All @@ -121,7 +121,7 @@ static public function isAnsicon()
* @static
* @return bool
*/
static public function isConsole()
public static function isConsole()
{
return PHP_SAPI == 'cli';
}
Expand All @@ -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()) {
Expand Down

0 comments on commit 748c5a4

Please sign in to comment.