Completed
Push — 8.x-1.x ( e30e93...591469 )
by Janez
01:56
created
src/Plugin/EntityBrowser/WidgetSelector/DropDown.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
   /**
20 20
    * {@inheritdoc}
21 21
    */
22
-  public function getForm(array &$form = [], FormStateInterface &$form_state = NULL) {
22
+  public function getForm(array &$form = [], FormStateInterface&$form_state = NULL) {
23 23
     // Set a wrapper container for us to replace the form on ajax call.
24 24
     $form['#prefix'] = '<div id="entity-browser-form">';
25 25
     $form['#suffix'] = '</div>';
Please login to merge, or discard this patch.
src/Plugin/EntityBrowser/WidgetSelector/Tabs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
   /**
20 20
    * {@inheritdoc}
21 21
    */
22
-  public function getForm(array &$form = [], FormStateInterface &$form_state = NULL) {
22
+  public function getForm(array &$form = [], FormStateInterface&$form_state = NULL) {
23 23
     $element = [];
24 24
     foreach ($this->widget_ids as $id => $label) {
25
-      $name = 'tab_selector_' . $id;
25
+      $name = 'tab_selector_'.$id;
26 26
       $element[$name] = [
27 27
         '#type' => 'button',
28 28
         '#attributes' => ['class' => ['tab']],
Please login to merge, or discard this patch.
src/Plugin/EntityBrowser/WidgetSelector/Single.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
   /**
20 20
    * {@inheritdoc}
21 21
    */
22
-  public function getForm(array &$form, FormStateInterface &$form_state) {
22
+  public function getForm(array &$form, FormStateInterface&$form_state) {
23 23
     return [];
24 24
   }
25 25
 
Please login to merge, or discard this patch.