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

Appearance settings

Commit 5adec19

Browse filesBrowse files
committed
[Form] Fixed typos
1 parent cb87ccb commit 5adec19
Copy full SHA for 5adec19

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎UPGRADE-2.1.md

Copy file name to clipboardExpand all lines: UPGRADE-2.1.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
```
330330
public function getDefaultOptions()
331331
{
332-
$return array(
332+
return array(
333333
'empty_data' => function (Options $options, $previousValue) {
334334
return $options['multiple'] ? array() : $previousValue;
335335
}

‎src/Symfony/Bridge/Propel1/Form/Type/ModelType.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Propel1/Form/Type/ModelType.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getDefaultOptions()
4343
);
4444
};
4545

46-
$defaultOptions = array(
46+
return array(
4747
'template' => 'choice',
4848
'multiple' => false,
4949
'expanded' => false,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.