Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simpletest/simpletest.php')
-rw-r--r--tests/simpletest/simpletest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/simpletest/simpletest.php b/tests/simpletest/simpletest.php
index 642f75fd7c..907c54e427 100644
--- a/tests/simpletest/simpletest.php
+++ b/tests/simpletest/simpletest.php
@@ -87,7 +87,7 @@ class SimpleTest {
* @access public
* @see preferred()
*/
- function prefer(&$object) {
+ public static function prefer(&$object) {
$registry = &SimpleTest::_getRegistry();
$registry['Preferred'][] = &$object;
}
@@ -202,7 +202,7 @@ class SimpleTest {
* @access private
* @static
*/
- function &_getRegistry() {
+ public static function &_getRegistry() {
static $registry = false;
if (! $registry) {
$registry = SimpleTest::_getDefaults();
@@ -231,7 +231,7 @@ class SimpleTest {
* @access private
* @static
*/
- function _getDefaults() {
+ private static function _getDefaults() {
return array(
'StubBaseClass' => 'SimpleStub',
'MockBaseClass' => 'SimpleMock',