fixed CS
This commit is contained in:
parent
9b7aab5e94
commit
1407f112fc
@ -112,12 +112,10 @@ class CheckboxTypeTest extends TypeTestCase
|
||||
{
|
||||
// present a binary status field as a checkbox
|
||||
$transformer = new CallbackTransformer(
|
||||
function ($value)
|
||||
{
|
||||
function ($value) {
|
||||
return 'expedited' == $value;
|
||||
},
|
||||
function ($value)
|
||||
{
|
||||
function ($value) {
|
||||
return $value ? 'expedited' : 'standard';
|
||||
}
|
||||
);
|
||||
|
@ -389,8 +389,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable
|
||||
{
|
||||
if ($this->options[$option] instanceof LazyOption) {
|
||||
if ($this->lock[$option]) {
|
||||
$conflicts = array_keys(array_filter($this->lock, function ($locked)
|
||||
{
|
||||
$conflicts = array_keys(array_filter($this->lock, function ($locked) {
|
||||
return $locked;
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user