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

Commit0f6f833

Browse files
committed
Fix code style in DefaultChoiceListFactory
1 parent6c923aa commit0f6f833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
5757
*/
5858
publicfunctioncreateView(ChoiceListInterface$list,$preferredChoices =null,$label =null,$index =null,$groupBy =null,$attr =null)
5959
{
60-
if (null !==$preferredChoices && !is_array($preferredChoices) && !\is_callable($preferredChoices)) {
60+
if (null !==$preferredChoices && !\is_array($preferredChoices) && !\is_callable($preferredChoices)) {
6161
thrownewUnexpectedTypeException($preferredChoices,'callable, array or null');
6262
}
6363

@@ -73,7 +73,7 @@ public function createView(ChoiceListInterface $list, $preferredChoices = null,
7373
thrownewUnexpectedTypeException($groupBy,'callable or null');
7474
}
7575

76-
if (null !==$attr && !is_array($attr) && !\is_callable($attr)) {
76+
if (null !==$attr && !\is_array($attr) && !\is_callable($attr)) {
7777
thrownewUnexpectedTypeException($attr,'callable, array or null');
7878
}
7979

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp