diff --git a/core/modules/color/color.module b/core/modules/color/color.module
index 1dbc1da..3cae045 100644
--- a/core/modules/color/color.module
+++ b/core/modules/color/color.module
@@ -319,7 +319,7 @@ function template_preprocess_color_scheme_form(&$variables) {
  *   The data that will appear in the $form_state->getValues() collection for this
  *   element. Return nothing to use the default.
  */
-function color_palette_color_value($element, $input = FALSE, FormStateInterface $form_state) {
+function color_palette_color_value($element, $input, FormStateInterface $form_state) {
   // If we suspect a possible cross-site request forgery attack, only accept
   // hexadecimal CSS color strings from user input, to avoid problems when this
   // value is used in the JavaScript preview.
diff --git a/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php b/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
index b2386b4..309d22d 100644
--- a/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
+++ b/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
@@ -296,7 +296,7 @@ public function massageFormValues(array $values, array $form, FormStateInterface
    *
    * This method is assigned as a #value_callback in formElement() method.
    */
-  public static function value($element, $input = FALSE, FormStateInterface $form_state) {
+  public static function value($element, $input, FormStateInterface $form_state) {
     if ($input) {
       // Checkboxes lose their value when empty.
       // If the display field is present make sure its unchecked value is saved.
