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