Passed
Push — master ( 737d15...413c67 )
by Nicolaas
02:26
created
src/UrlSegmentFixer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
                     $hasOthers = false;
47 47
                     foreach ($others as $other) {
48 48
                         $hasOthers = true;
49
-                        DB::alteration_message('... can not be changed because there is an existing page: '. $this->pageObjectToLink($other));
49
+                        DB::alteration_message('... can not be changed because there is an existing page: ' . $this->pageObjectToLink($other));
50 50
                     }
51 51
 
52 52
                     if (false === $hasOthers && $this->forReal) {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     protected function pageObjectToLink($page): string
64 64
     {
65 65
         if (Director::is_cli()) {
66
-            return $page->Title.':  '.$this->Link();
66
+            return $page->Title . ':  ' . $this->Link();
67 67
         }
68 68
         return '<a href="' . $page->CMSEditLink() . '">✎</a> <a href="' . $page->Link() . '">' . $page->Title . '</a>';
69 69
     }
Please login to merge, or discard this patch.