Skip to content

Commit 5bdc970

Browse files
committed
fixed CS
1 parent 283d898 commit 5bdc970

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function describeRoute(Route $route, array $options = [])
9393
];
9494

9595
if ('' !== $route->getCondition()) {
96-
$tableRows[] = array('Condition', $route->getCondition());
96+
$tableRows[] = ['Condition', $route->getCondition()];
9797
}
9898

9999
$table = new Table($this->getOutput());
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
$container->loadFromExtension('framework', array(
4-
'templating' => array(
3+
$container->loadFromExtension('framework', [
4+
'templating' => [
55
'cache' => '/path/to/cache',
6-
'engines' => array('php', 'twig'),
7-
'loader' => array('loader.foo', 'loader.bar'),
8-
'form' => array(
9-
'resources' => array('theme1', 'theme2'),
10-
),
6+
'engines' => ['php', 'twig'],
7+
'loader' => ['loader.foo', 'loader.bar'],
8+
'form' => [
9+
'resources' => ['theme1', 'theme2'],
10+
],
1111
'hinclude_default_template' => 'global_hinclude_template',
12-
),
12+
],
1313
'assets' => null,
14-
));
14+
]);

Tests/Functional/AutowiringTypesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testCachedAnnotationReaderAutowiring()
4242
*/
4343
public function testTemplatingAutowiring()
4444
{
45-
static::bootKernel(array('root_config' => 'templating.yml', 'environment' => 'templating'));
45+
static::bootKernel(['root_config' => 'templating.yml', 'environment' => 'templating']);
4646

4747
$autowiredServices = static::$container->get('test.autowiring_types.autowired_services');
4848
$this->assertInstanceOf(FrameworkBundleEngineInterface::class, $autowiredServices->getFrameworkBundleEngine());

0 commit comments

Comments
 (0)