File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ By changing a string value into an associative array with ``name`` as the key::
506506 ->arrayNode('connection')
507507 ->beforeNormalization()
508508 ->ifString()
509- ->then(function($v) { return array('name'=> $v); })
509+ ->then(function ($v) { return array('name' => $v); })
510510 ->end()
511511 ->children()
512512 ->scalarNode('name')->isRequired()
Original file line number Diff line number Diff line change @@ -431,9 +431,11 @@ method::
431431
432432 $command = $application->find('demo:greet');
433433 $commandTester = new CommandTester($command);
434- $commandTester->execute(
435- array('command' => $command->getName(), 'name' => 'Fabien', '--iterations' => 5)
436- );
434+ $commandTester->execute(array(
435+ 'command' => $command->getName(),
436+ 'name' => 'Fabien',
437+ '--iterations' => 5,
438+ ));
437439
438440 $this->assertRegExp('/Fabien/', $commandTester->getDisplay());
439441 }
You can’t perform that action at this time.
0 commit comments