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 d1190dd

Browse filesBrowse files
committed
Fixed code style
1 parent 797d2f0 commit d1190dd
Copy full SHA for d1190dd

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListViewBuilder.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ private function addViewsFromStructuredValues(&$preferredViews, &$otherViews, Ch
172172
continue;
173173
}
174174

175-
$preferredViewsForGroup = array();
176-
$otherViewsForGroup = array();
175+
$preferredViewsForGroup = [];
176+
$otherViewsForGroup = [];
177177

178178
$this->addViewsFromStructuredValues(
179179
$preferredViewsForGroup,
@@ -268,6 +268,6 @@ private function getChoiceAttr($choice, $key, $value)
268268
return ($this->attr)($choice, $key, $value);
269269
}
270270

271-
return $this->attr[$key] ?? array();
271+
return $this->attr[$key] ?? [];
272272
}
273273
}

0 commit comments

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