@@ -102,7 +102,7 @@ |
||
| 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 | { |
@@ -28,7 +28,7 @@ |
||
| 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 | { |