Jelajahi Sumber

Fix 5.3 build

Jordi Boggiano 7 tahun lalu
induk
melakukan
06f7bfb0ee
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      tests/Monolog/Handler/RotatingFileHandlerTest.php

+ 2 - 2
tests/Monolog/Handler/RotatingFileHandlerTest.php

@@ -213,7 +213,7 @@ class RotatingFileHandlerTest extends TestCase
     public function rotationWhenSimilarFilesExistTests()
     {
 
-        return [
+        return array(
             'Rotation is triggered when the file of the current day is not present but similar exists'
                 => [RotatingFileHandler::FILE_PER_DAY],
 
@@ -222,7 +222,7 @@ class RotatingFileHandlerTest extends TestCase
 
             'Rotation is triggered when the file of the current year is not present but similar exists'
                 => [RotatingFileHandler::FILE_PER_YEAR],
-        ];
+        );
     }
 
     public function testReuseCurrentFile()