Skip to content

Commit 1407f11

Browse files
committed
fixed CS
1 parent 9b7aab5 commit 1407f11

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,10 @@ public function testTransformedData($data, $expected)
112112
{
113113
// present a binary status field as a checkbox
114114
$transformer = new CallbackTransformer(
115-
function ($value)
116-
{
115+
function ($value) {
117116
return 'expedited' == $value;
118117
},
119-
function ($value)
120-
{
118+
function ($value) {
121119
return $value ? 'expedited' : 'standard';
122120
}
123121
);

src/Symfony/Component/OptionsResolver/Options.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,7 @@ private function resolve($option)
389389
{
390390
if ($this->options[$option] instanceof LazyOption) {
391391
if ($this->lock[$option]) {
392-
$conflicts = array_keys(array_filter($this->lock, function ($locked)
393-
{
392+
$conflicts = array_keys(array_filter($this->lock, function ($locked) {
394393
return $locked;
395394
}));
396395

0 commit comments

Comments
 (0)