X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTitleArrayFromResultTest.php;h=7c2973f93f2c94eee14e98827fa4a236e8d3baf4;hb=939199bcea28a3b13c49c0f808d11d415660b924;hp=f06208b3e0a878ddea22c41fae215f92c5663aa9;hpb=fb25d9fe77207c86d3f99934c74d5a0fa96ef0a2;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 ], + ]; } /**