From 4094ea47712efbe58624ff74daeb1f77c9b0edcf Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 12 Apr 2016 11:36:01 +0200 Subject: Convert array + phpDoc Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter --- src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php') diff --git a/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php b/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php index c4905478..05450c0b 100644 --- a/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php +++ b/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php @@ -24,10 +24,10 @@ abstract class WallabagCoreTestCase extends WebTestCase { $crawler = $this->client->request('GET', '/login'); $form = $crawler->filter('button[type=submit]')->form(); - $data = array( + $data = [ '_username' => $username, '_password' => 'mypassword', - ); + ]; $this->client->submit($form, $data); } -- cgit v1.2.3