summaryrefslogtreecommitdiff
path: root/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php')
-rw-r--r--vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php b/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php
index 01b7a5feab..68cb2d0b72 100644
--- a/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php
+++ b/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php
@@ -23,9 +23,9 @@ class PhpFileLoaderTest extends TestCase
$resource = __DIR__.'/../fixtures/resources.php';
$catalogue = $loader->load($resource, 'en', 'domain1');
- $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1'));
+ $this->assertEquals(['foo' => 'bar'], $catalogue->all('domain1'));
$this->assertEquals('en', $catalogue->getLocale());
- $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources());
+ $this->assertEquals([new FileResource($resource)], $catalogue->getResources());
}
/**