Skip to content

Commit 6573b04

Browse files
astepinDavertMik
authored andcommitted
fixed typos (#4319)
* replaced traditional syntax array literals with short array syntax * typos
1 parent 095c188 commit 6573b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function seeCurrentRouteIs($routeName, array $params = [])
364364
} catch (\Symfony\Component\Routing\Exception\ResourceNotFoundException $e) {
365365
$this->fail(sprintf('The "%s" url does not match with any route', $uri));
366366
}
367-
$expected = array_merge(array('_route' => $routeName), $params);
367+
$expected = array_merge(['_route' => $routeName], $params);
368368
$intersection = array_intersect_assoc($expected, $match);
369369

370370
$this->assertEquals($expected, $intersection);

0 commit comments

Comments
 (0)