mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix linting.
This commit is contained in:
parent
7fda52b2cd
commit
c77042aa8b
@ -1401,7 +1401,7 @@ class Form extends ViewableData implements HasRequestHandler
|
|||||||
// `setValue` method to use.
|
// `setValue` method to use.
|
||||||
if (($mergeStrategy & self::MERGE_AS_INTERNAL_VALUE) == self::MERGE_AS_INTERNAL_VALUE) {
|
if (($mergeStrategy & self::MERGE_AS_INTERNAL_VALUE) == self::MERGE_AS_INTERNAL_VALUE) {
|
||||||
$submitted = false;
|
$submitted = false;
|
||||||
} else if (($mergeStrategy & self::MERGE_AS_SUBMITTED_VALUE) == self::MERGE_AS_SUBMITTED_VALUE) {
|
} elseif (($mergeStrategy & self::MERGE_AS_SUBMITTED_VALUE) == self::MERGE_AS_SUBMITTED_VALUE) {
|
||||||
$submitted = true;
|
$submitted = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1071,7 +1071,6 @@ class FormTest extends FunctionalTest
|
|||||||
$this->mainSession->session()->get('FormInfo.Form_Form'),
|
$this->mainSession->session()->get('FormInfo.Form_Form'),
|
||||||
'Our form was reloaded successfully. That should have cleared our session.'
|
'Our form was reloaded successfully. That should have cleared our session.'
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getStubForm()
|
protected function getStubForm()
|
||||||
|
Loading…
Reference in New Issue
Block a user