summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest/mock_objects.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tools/simpletest/mock_objects.php')
-rw-r--r--tests/test_tools/simpletest/mock_objects.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_tools/simpletest/mock_objects.php b/tests/test_tools/simpletest/mock_objects.php
index c7eb7cb6..6aa6a190 100644
--- a/tests/test_tools/simpletest/mock_objects.php
+++ b/tests/test_tools/simpletest/mock_objects.php
@@ -946,7 +946,7 @@
* @static
* @access public
*/
- function generate($class, $mock_class = false, $methods = false) {
+ static function generate($class, $mock_class = false, $methods = false) {
$generator = new MockGenerator($class, $mock_class);
return $generator->generate($methods);
}
@@ -963,7 +963,7 @@
* @static
* @access public
*/
- function generatePartial($class, $mock_class, $methods) {
+ static function generatePartial($class, $mock_class, $methods) {
$generator = new MockGenerator($class, $mock_class);
return $generator->generatePartial($methods);
}
@@ -978,7 +978,7 @@
* @access public
* @static
*/
- function getExpectationLine($stack = false) {
+ static function getExpectationLine($stack = false) {
if ($stack === false) {
$stack = SimpleTestCompatibility::getStackTrace();
}