File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Symfony/Component/Form Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 181181 {
182182 public function getExtendedType()
183183 {
184- method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
184+ return method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
185185 }
186186 }
187187 ```
Original file line number Diff line number Diff 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 prefixes defaults to the underscored short class name with
77+ * The block prefixes default 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
You can’t perform that action at this time.
0 commit comments