Skip to content
Snippets Groups Projects

Issue #3471965: Fix the issues reported by PHP_CodeSniffer

Files
5
@@ -6,8 +6,8 @@ use Drupal\Component\Serialization\Json;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Datetime\Element\Datetime;
use Drupal\Core\Datetime\Entity\DateFormat;
use Drupal\Core\Render\Element;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Render\Element;
/**
* Provides a BootstrapDateTime form element.
@@ -29,11 +29,11 @@ class BootstrapDateTime extends Datetime {
],
'#process' => [
[$class, 'processBootstrapDateTime'],
[$class, 'processAjaxForm']
[$class, 'processAjaxForm'],
],
'#pre_render' => [
[$class, 'preRenderBootstrapDateTime'],
[$class, 'preRenderAjaxForm']
[$class, 'preRenderAjaxForm'],
],
'#multiple' => FALSE,
'#maxlength' => 512,
Loading