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