From c144bb3dc3f5cc4992892219fa0dac264b300076 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 13 Oct 2010 23:43:21 +0000 Subject: [PATCH] Fixup r74646 Remove unreachable return false; Fix $tohis to $this --- maintenance/tests/phpunit/bootstrap.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php index 369cfe1120..594db1b71d 100644 --- a/maintenance/tests/phpunit/bootstrap.php +++ b/maintenance/tests/phpunit/bootstrap.php @@ -44,12 +44,11 @@ abstract class MediaWikiTestSetup extends PHPUnit_Framework_TestCase { function __call( $func, $args ) { if ( method_exists( $this->suite, $func ) ) { - return call_user_func_array( array( $tohis->suite, $func ), $args); + return call_user_func_array( array( $this->suite, $func ), $args); } else { throw new MWException( "Called non-existant $func method on " . get_class( $this ) ); } - return false; } } -- 2.20.1