Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add missing scope modifiers for functions. #643

Merged
merged 1 commit into from

2 participants

Rouven Weßling Louis Landry
Rouven Weßling
Collaborator

This should clean up a few (8) of the code style warnings.

Louis Landry LouisLandry merged commit 57082fb into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 13, 2011
  1. Rouven Weßling
This page is out of date. Refresh to see the latest.
2  libraries/joomla/application/application.php
View
@@ -1173,7 +1173,7 @@ public function isSite()
*
* @since 11.1
*/
- static function isWinOS()
+ public static function isWinOS()
{
return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
}
2  libraries/joomla/database/database.php
View
@@ -28,7 +28,7 @@
*
* @since 11.2
*/
- static function test();
+ public static function test();
}
/**
4 libraries/joomla/html/html/grid.php
View
@@ -30,7 +30,7 @@
*
* @since 11.1
*/
- static function boolean($i, $value, $taskOn = null, $taskOff = null)
+ public static function boolean($i, $value, $taskOn = null, $taskOff = null)
{
// Load the behavior.
self::behavior();
@@ -344,7 +344,7 @@ protected static function _checkedOut(&$row, $overlib = 1)
*
* @since 11.1
*/
- static function behavior()
+ public static function behavior()
{
static $loaded;
4 libraries/joomla/language/help.php
View
@@ -30,7 +30,7 @@ class JHelp
*
* @since 11.1
*/
- static function createURL($ref, $useComponent = false, $override = null, $component = null)
+ public static function createURL($ref, $useComponent = false, $override = null, $component = null)
{
$local = false;
$app = JFactory::getApplication();
@@ -155,7 +155,7 @@ static function createURL($ref, $useComponent = false, $override = null, $compon
*
* @since 11.1
*/
- static function createSiteList($pathToXml, $selected = null)
+ public static function createSiteList($pathToXml, $selected = null)
{
$list = array();
$xml = false;
2  libraries/joomla/language/latin_transliterate.php
View
@@ -35,7 +35,7 @@ class JLanguageTransliterate
*
* @since 11.1
*/
- static function utf8_latin_to_ascii($string, $case = 0)
+ public static function utf8_latin_to_ascii($string, $case = 0)
{
static $UTF8_LOWER_ACCENTS = null;
static $UTF8_UPPER_ACCENTS = null;
2  libraries/joomla/session/storage/apc.php
View
@@ -125,7 +125,7 @@ public function gc($maxlifetime = null)
*
* @return boolean True on success, false otherwise.
*/
- static function test()
+ public static function test()
{
return extension_loaded('apc');
}
Something went wrong with that request. Please try again.