@@ -46,7 +46,7 @@ discard block |
||
| 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 |
||
| 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 | } |