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

Commit8d049c5

Browse files
committed
fixed typos
1 parent5b38d74 commit8d049c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎UPGRADE-2.8.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Form
181181
{
182182
public function getExtendedType()
183183
{
184-
method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
184+
returnmethod_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
185185
}
186186
}
187187
```

‎src/Symfony/Component/Form/AbstractType.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getName()
7474
/**
7575
* Returns the prefix of the template block name for this type.
7676
*
77-
* The block prefixesdefaults to the underscored short class name with
77+
* The block prefixesdefault to the underscored short class name with
7878
* the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
7979
*
8080
* @return string The prefix of the template block name

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp