Completed
Push — master ( 518819...91b4e9 )
by Adam
37s
created
app/Services/Parser/Extensions/YoutubeLinkProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             || empty($components['path'])
46 46
                 // "/" path are not allowed
47 47
                 || trim($components['path']) === '/'
48
-                    || $link->firstChild()?->getLiteral() !== $link->getUrl()
48
+                    || $link->firstChild() ? ->getLiteral() !== $link->getUrl()
49 49
             ) {
50 50
             return false;
51 51
         }
Please login to merge, or discard this patch.