Completed
Push — 8.x-1.x ( f7b2d2...4e87bf )
by
unknown
02:57
created
Category
src/Plugin/Filter/UrlEmbedFilter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
           if ($info = $this->urlEmbed()->getEmbed($url)) {
77 77
             $url_output = $info->getCode();
78 78
           }
79
-        }
80
-        catch (\Exception $e) {
79
+        } catch (\Exception $e) {
81 80
           watchdog_exception('url_embed', $e);
82 81
         }
83 82
 
Please login to merge, or discard this patch.
src/Form/UrlEmbedDialog.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,8 +143,7 @@
 block discarded – undo
143 143
         '#weight' => -10,
144 144
       );
145 145
       $response->addCommand(new HtmlCommand('#url-embed-dialog-form', $form));
146
-    }
147
-    else {
146
+    } else {
148 147
       $response->addCommand(new EditorDialogSave($values));
149 148
       $response->addCommand(new CloseModalDialogCommand());
150 149
     }
Please login to merge, or discard this patch.