File tree 2 files changed +6
-4
lines changed
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::
506
506
->arrayNode('connection')
507
507
->beforeNormalization()
508
508
->ifString()
509
- ->then(function($v) { return array('name'=> $v); })
509
+ ->then(function ($v) { return array('name' => $v); })
510
510
->end()
511
511
->children()
512
512
->scalarNode('name')->isRequired()
Original file line number Diff line number Diff line change @@ -431,9 +431,11 @@ method::
431
431
432
432
$command = $application->find('demo:greet');
433
433
$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
+ ));
437
439
438
440
$this->assertRegExp('/Fabien/', $commandTester->getDisplay());
439
441
}
You can’t perform that action at this time.
0 commit comments