X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2FTitleArrayFromResultTest.php;h=7c2973f93f2c94eee14e98827fa4a236e8d3baf4;hb=d68cffa1a20e30a0f1d7d2cf5ce095720b1b8551;hp=f06208b3e0a878ddea22c41fae215f92c5663aa9;hpb=49f4f5307a195b8ee6260e7bc63d70777995fda5;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TitleArrayFromResultTest.php b/tests/phpunit/includes/TitleArrayFromResultTest.php index f06208b3e0..7c2973f93f 100644 --- a/tests/phpunit/includes/TitleArrayFromResultTest.php +++ b/tests/phpunit/includes/TitleArrayFromResultTest.php @@ -65,11 +65,11 @@ class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase { } public static function provideNumberOfRows() { - return array( - array( 0 ), - array( 1 ), - array( 122 ), - ); + return [ + [ 0 ], + [ 1 ], + [ 122 ], + ]; } /** @@ -98,10 +98,10 @@ class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase { } public function provideTestValid() { - return array( - array( $this->getRowWithTitle(), true ), - array( false, false ), - ); + return [ + [ $this->getRowWithTitle(), true ], + [ false, false ], + ]; } /**