Przeglądaj źródła

ZF2015-09: The Zend_Crypt_MathTest should run on PHP 5.2/5.3

Martin Hujer 10 lat temu
rodzic
commit
5b88bf9d9f
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      tests/Zend/Crypt/MathTest.php

+ 4 - 4
tests/Zend/Crypt/MathTest.php

@@ -80,10 +80,10 @@ class Zend_Crypt_MathTest extends PHPUnit_Framework_TestCase
 
     public static function provideRandInt()
     {
-        return [
-            [2, 1, 10000, 100, 0.9, 1.1, false],
-            [2, 1, 10000, 100, 0.8, 1.2, true]
-        ];
+        return array(
+            array(2, 1, 10000, 100, 0.9, 1.1, false),
+            array(2, 1, 10000, 100, 0.8, 1.2, true)
+        );
     }
 
     /**