Fixup r74646
authorSam Reed <reedy@users.mediawiki.org>
Wed, 13 Oct 2010 23:43:21 +0000 (23:43 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 13 Oct 2010 23:43:21 +0000 (23:43 +0000)
Remove unreachable return false;

Fix $tohis to $this

maintenance/tests/phpunit/bootstrap.php

index 369cfe1..594db1b 100644 (file)
@@ -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;
        }
 }