Skip to content

Commit 1c156d7

Browse files
committed
Fix CS
1 parent 4fc9f4f commit 1c156d7

File tree

8 files changed

+127
-127
lines changed

8 files changed

+127
-127
lines changed

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function getDecoratedFactory()
8787
* @param mixed $value
8888
* @param mixed $filter
8989
*/
90-
public function createListFromChoices(iterable $choices, $value = null/*, $filter = null*/)
90+
public function createListFromChoices(iterable $choices, $value = null/* , $filter = null */)
9191
{
9292
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
9393

@@ -128,7 +128,7 @@ public function createListFromChoices(iterable $choices, $value = null/*, $filte
128128
* @param mixed $value
129129
* @param mixed $filter
130130
*/
131-
public function createListFromLoader(ChoiceLoaderInterface $loader, $value = null/*, $filter = null*/)
131+
public function createListFromLoader(ChoiceLoaderInterface $loader, $value = null/* , $filter = null */)
132132
{
133133
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
134134

@@ -175,7 +175,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
175175
* @param mixed $attr
176176
* @param mixed $labelTranslationParameters
177177
*/
178-
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, $index = null, $groupBy = null, $attr = null/*, $labelTranslationParameters = []*/)
178+
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, $index = null, $groupBy = null, $attr = null/* , $labelTranslationParameters = [] */)
179179
{
180180
$labelTranslationParameters = \func_num_args() > 6 ? func_get_arg(6) : [];
181181
$cache = true;

ChoiceList/Factory/ChoiceListFactoryInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface ChoiceListFactoryInterface
3535
*
3636
* @return ChoiceListInterface
3737
*/
38-
public function createListFromChoices(iterable $choices, callable $value = null/*, callable $filter = null*/);
38+
public function createListFromChoices(iterable $choices, callable $value = null/* , callable $filter = null */);
3939

4040
/**
4141
* Creates a choice list that is loaded with the given loader.
@@ -48,7 +48,7 @@ public function createListFromChoices(iterable $choices, callable $value = null/
4848
*
4949
* @return ChoiceListInterface
5050
*/
51-
public function createListFromLoader(ChoiceLoaderInterface $loader, callable $value = null/*, callable $filter = null*/);
51+
public function createListFromLoader(ChoiceLoaderInterface $loader, callable $value = null/* , callable $filter = null */);
5252

5353
/**
5454
* Creates a view for the given choice list.
@@ -84,5 +84,5 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, callable $va
8484
*
8585
* @return ChoiceListView
8686
*/
87-
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, callable $index = null, callable $groupBy = null, $attr = null/*, $labelTranslationParameters = []*/);
87+
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, callable $index = null, callable $groupBy = null, $attr = null/* , $labelTranslationParameters = [] */);
8888
}

ChoiceList/Factory/DefaultChoiceListFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DefaultChoiceListFactory implements ChoiceListFactoryInterface
3535
*
3636
* @param callable|null $filter
3737
*/
38-
public function createListFromChoices(iterable $choices, callable $value = null/*, callable $filter = null*/)
38+
public function createListFromChoices(iterable $choices, callable $value = null/* , callable $filter = null */)
3939
{
4040
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
4141

@@ -45,7 +45,7 @@ public function createListFromChoices(iterable $choices, callable $value = null/
4545
new CallbackChoiceLoader(static function () use ($choices) {
4646
return $choices;
4747
}
48-
), $filter), $value);
48+
), $filter), $value);
4949
}
5050

5151
return new ArrayChoiceList($choices, $value);
@@ -56,7 +56,7 @@ public function createListFromChoices(iterable $choices, callable $value = null/
5656
*
5757
* @param callable|null $filter
5858
*/
59-
public function createListFromLoader(ChoiceLoaderInterface $loader, callable $value = null/*, callable $filter = null*/)
59+
public function createListFromLoader(ChoiceLoaderInterface $loader, callable $value = null/* , callable $filter = null */)
6060
{
6161
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
6262

@@ -72,7 +72,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, callable $va
7272
*
7373
* @param array|callable $labelTranslationParameters The parameters used to translate the choice labels
7474
*/
75-
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, callable $index = null, callable $groupBy = null, $attr = null/*, $labelTranslationParameters = []*/)
75+
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, callable $index = null, callable $groupBy = null, $attr = null/* , $labelTranslationParameters = [] */)
7676
{
7777
$labelTranslationParameters = \func_num_args() > 6 ? func_get_arg(6) : [];
7878
$preferredViews = [];

ChoiceList/Factory/PropertyAccessDecorator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getDecoratedFactory()
6565
*
6666
* @return ChoiceListInterface
6767
*/
68-
public function createListFromChoices(iterable $choices, $value = null/*, $filter = null*/)
68+
public function createListFromChoices(iterable $choices, $value = null/* , $filter = null */)
6969
{
7070
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
7171

@@ -106,7 +106,7 @@ public function createListFromChoices(iterable $choices, $value = null/*, $filte
106106
*
107107
* @return ChoiceListInterface
108108
*/
109-
public function createListFromLoader(ChoiceLoaderInterface $loader, $value = null/*, $filter = null*/)
109+
public function createListFromLoader(ChoiceLoaderInterface $loader, $value = null/* , $filter = null */)
110110
{
111111
$filter = \func_num_args() > 2 ? func_get_arg(2) : null;
112112

@@ -151,7 +151,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
151151
*
152152
* @return ChoiceListView
153153
*/
154-
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, $index = null, $groupBy = null, $attr = null/*, $labelTranslationParameters = []*/)
154+
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, $index = null, $groupBy = null, $attr = null/* , $labelTranslationParameters = [] */)
155155
{
156156
$labelTranslationParameters = \func_num_args() > 6 ? func_get_arg(6) : [];
157157
$accessor = $this->propertyAccessor;

Extension/Core/Type/FileType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ private static function getMaxFilesize()
198198

199199
switch (substr($iniMax, -1)) {
200200
case 't': $max *= 1024;
201-
// no break
201+
// no break
202202
case 'g': $max *= 1024;
203-
// no break
203+
// no break
204204
case 'm': $max *= 1024;
205-
// no break
205+
// no break
206206
case 'k': $max *= 1024;
207207
}
208208

0 commit comments

Comments
 (0)