Passed
Push — master ( 009d48...0bee53 )
by Nicolaas
09:28
created
src/ExternalURLFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@
 block discarded – undo
20 20
     public static function find(string $link, string $className, string $field, ?bool $removeFinalSlash = true)
21 21
     {
22 22
         $link = strtolower($link);
23
-        if($removeFinalSlash) {
23
+        if ($removeFinalSlash) {
24 24
             $link = rtrim($link, '/');
25 25
         }
26 26
         $linkObject = DBField::create_field('ExternalURL', $link);
27 27
         $domain = $linkObject->Domain();
28
-        if(strpos($domain, 'www.') === 0) {
28
+        if (strpos($domain, 'www.') === 0) {
29 29
             $domainWWW = $domain;
30 30
             $domainNoWWW = $linkObject->Domain()->noWWW();
31 31
         } else {
Please login to merge, or discard this patch.