Convert all array() syntax to []
[lhc/web/wiklou.git] / tests / phpunit / includes / session / TestUtils.php
index cc20ab5..36175af 100644 (file)
@@ -32,11 +32,11 @@ class TestUtils {
 
                $oldInstance = $rInstance->getValue();
 
-               $reset = array(
-                       array( $rInstance, $oldInstance ),
-                       array( $rGlobalSession, $rGlobalSession->getValue() ),
-                       array( $rGlobalSessionRequest, $rGlobalSessionRequest->getValue() ),
-               );
+               $reset = [
+                       [ $rInstance, $oldInstance ],
+                       [ $rGlobalSession, $rGlobalSession->getValue() ],
+                       [ $rGlobalSessionRequest, $rGlobalSessionRequest->getValue() ],
+               ];
 
                $rInstance->setValue( $manager );
                $rGlobalSession->setValue( null );