Permalink
Browse files

minor #4916 Fixes for 2.3 branch (ifdattic)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixes for 2.3 branch

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

7065dd1 Remove horizontal scrollbar
4d400bd Fix typos
  • Loading branch information...
weaverryan committed Jan 30, 2015
2 parents d7acccf + 7065dd1 commit 20d80c333dfe49f998815c2407ee4f737b70a2ef
Showing with 6 additions and 4 deletions.
  1. +1 −1 components/config/definition.rst
  2. +5 −3 components/console/introduction.rst
@@ -506,7 +506,7 @@ By changing a string value into an associative array with ``name`` as the key::
->arrayNode('connection')
->beforeNormalization()
->ifString()
->then(function($v) { return array('name'=> $v); })
->then(function ($v) { return array('name' => $v); })
->end()
->children()
->scalarNode('name')->isRequired()
@@ -431,9 +431,11 @@ method::
$command = $application->find('demo:greet');
$commandTester = new CommandTester($command);
$commandTester->execute(
array('command' => $command->getName(), 'name' => 'Fabien', '--iterations' => 5)
);
$commandTester->execute(array(
'command' => $command->getName(),
'name' => 'Fabien',
'--iterations' => 5,
));
$this->assertRegExp('/Fabien/', $commandTester->getDisplay());
}

0 comments on commit 20d80c3

Please sign in to comment.