Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit484399c

Browse files
committed
Merge pull requestsymfony#2499 from WouterJ/commit_comments_20
Fixed Commit comments
2 parents09d3e18 +60d588f commit484399c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

‎components/console/single_command_tool.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,14 @@ it is possible to remove this need by extending the application::
5858
}
5959
}
6060

61-
When calling your console script, the command `MyCommand` will then always
61+
When calling your console script, the command ``MyCommand`` will then always
6262
be used, without having to pass its name.
6363

6464
You can also simplify how you execute the application::
6565

6666
#!/usr/bin/env php
6767
<?php
6868
// command.php
69-
7069
use Acme\Tool\MyApplication;
7170

7271
$application = new MyApplication();

‎components/dependency_injection/configurators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ in the application::
7878
public function loadFormatters()
7979
{
8080
// code to configure which formatters to use
81-
$enabledFormatters = array();
81+
$enabledFormatters = array(...);
8282
// ...
8383

8484
$this->enabledFormatters = $enabledFormatters;

‎cookbook/form/use_empty_data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ you form. For example::
1111

1212
public function indexAction()
1313
{
14-
$blog =//...
14+
$blog = ...;
1515

1616
// $blog is passed in as the data, so the empty_data option is not needed
1717
$form = $this->createForm(new BlogType(), $blog);
@@ -35,8 +35,8 @@ that takes arguments. Remember, the default ``data_class`` option calls
3535
that constructor with no arguments::
3636

3737
// src/Acme/DemoBundle/Form/Type/BlogType.php
38-
// ...
3938

39+
// ...
4040
use Symfony\Component\Form\AbstractType;
4141
use Acme\DemoBundle\Entity\Blog;
4242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp