Completed
Pull Request — 0.2 (#132)
by Scott
06:21
created
src/allejo/stakx/MarkupEngine/MarkdownEngine.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             $host = parse_url($linkBlock['element']['attributes']['href'], PHP_URL_HOST);
103 103
 
104 104
             // If a host was found, and it is not on the list of internal hosts, add the attributes
105
-            if ($host !== NULL && !in_array($host, $this->internalhosts))
105
+            if ($host !== null && !in_array($host, $this->internalhosts))
106 106
             {
107 107
                 if ($this->externallinkrel)
108 108
                 {
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/AFunction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             $host = parse_url($href, PHP_URL_HOST);
29 29
 
30 30
             // If a host was found, and it is not on the list of internal hosts, add the attributes
31
-            if ($host !== NULL && !in_array($host, $internalHosts))
31
+            if ($host !== null && !in_array($host, $internalHosts))
32 32
             {
33 33
                 if ($externalRel && !isset($attributes['rel']))
34 34
                 {
Please login to merge, or discard this patch.