Completed
Push — 8.x-1.x ( 28fdc3...200447 )
by Janez
02:37
created
src/Plugin/EntityBrowser/Widget/View.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -125,8 +125,7 @@  discard block
 block discarded – undo
125 125
         return [
126 126
           '#markup' => $this->t('Entity browser select form field not found on a view. <a href=":link">Go fix it</a>!', [':link' => $url]),
127 127
         ];
128
-      }
129
-      else {
128
+      } else {
130 129
         return [
131 130
           '#markup' => $this->t('Entity browser select form field not found on a view. Go fix it!'),
132 131
         ];
@@ -184,8 +183,7 @@  discard block
 block discarded – undo
184 183
                 ]);
185 184
                 $form_state->setError($form['widget']['view']['entity_browser_select'], $message);
186 185
               }
187
-            }
188
-            catch (PluginNotFoundException $e) {
186
+            } catch (PluginNotFoundException $e) {
189 187
               $message = $this->t('The Entity Type @type does not exist.', [
190 188
                 '@type' => $parts[0],
191 189
               ]);
Please login to merge, or discard this patch.