Merge "Use pg_result_error, not pg_last_error, as the latter gives false negatives."
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialMIMESearchTest.php
index fe1c9e8..ede2791 100644 (file)
@@ -37,12 +37,12 @@ class SpecialMIMESearchTest extends MediaWikiTestCase {
        }
 
        function providerMimeFiltering() {
-               return array(
-                       array( 'image/gif', 'image', 'gif' ),
-                       array( 'image/png', 'image', 'png' ),
-                       array( 'application/pdf', 'application', 'pdf' ),
-                       array( 'image/*', 'image', null ),
-                       array( 'multipart/*', 'multipart', null ),
-               );
+               return [
+                       [ 'image/gif', 'image', 'gif' ],
+                       [ 'image/png', 'image', 'png' ],
+                       [ 'application/pdf', 'application', 'pdf' ],
+                       [ 'image/*', 'image', null ],
+                       [ 'multipart/*', 'multipart', null ],
+               ];
        }
 }