summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest/mock_objects.php
diff options
context:
space:
mode:
authorwei <>2006-11-28 23:34:00 +0000
committerwei <>2006-11-28 23:34:00 +0000
commitf4925fce58f1827515ced2c32bb12f2aa977a1f2 (patch)
treeb577eaaf872cd9d640f3ea8783fb4c898ca0ca57 /tests/test_tools/simpletest/mock_objects.php
parent51fe975484bb4d1e8e63f4438c1c8e7f1b41c5df (diff)
Make simpletest E_STRICT compatible
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();
}