Merge "Add mw-ui-input to mediawiki ui"
[lhc/web/wiklou.git] / tests / phpunit / includes / db / ORMRowTest.php
index 8516241..4ff6165 100644 (file)
@@ -43,19 +43,19 @@ abstract class ORMRowTest extends \MediaWikiTestCase {
         * @since 1.20
         * @return string
         */
-       protected abstract function getRowClass();
+       abstract protected function getRowClass();
 
        /**
         * @since 1.20
         * @return IORMTable
         */
-       protected abstract function getTableInstance();
+       abstract protected function getTableInstance();
 
        /**
         * @since 1.20
         * @return array
         */
-       public abstract function constructorTestProvider();
+       abstract public function constructorTestProvider();
 
        /**
         * @since 1.20
@@ -71,11 +71,12 @@ abstract class ORMRowTest extends \MediaWikiTestCase {
        /**
         * @since 1.20
         * @param array $data
-        * @param boolean $loadDefaults
+        * @param bool $loadDefaults
         * @return IORMRow
         */
        protected function getRowInstance( array $data, $loadDefaults ) {
                $class = $this->getRowClass();
+
                return new $class( $this->getTableInstance(), $data, $loadDefaults );
        }
 
@@ -222,4 +223,4 @@ abstract class ORMRowTest extends \MediaWikiTestCase {
 
        // TODO: test all of the methods!
 
-}
\ No newline at end of file
+}