summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest/scorer.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tools/simpletest/scorer.php')
-rw-r--r--tests/test_tools/simpletest/scorer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tools/simpletest/scorer.php b/tests/test_tools/simpletest/scorer.php
index 7cebae42..87a60e0e 100644
--- a/tests/test_tools/simpletest/scorer.php
+++ b/tests/test_tools/simpletest/scorer.php
@@ -379,7 +379,7 @@
* @access public
* @static
*/
- function inCli() {
+ static function inCli() {
return php_sapi_name() == 'cli';
}
}