Skip to content

Commit

Permalink
minor #4916 Fixes for 2.3 branch (ifdattic)
Browse files Browse the repository at this point in the history
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 20d80c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
8 changes: 5 additions & 3 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 20d80c3

Please sign in to comment.