@@ -33,7 +33,7 @@ |
||
33 | 33 | TextareaField::create('SearchSynonyms', _t(__CLASS__ . '.SearchSynonyms', 'Search Synonyms')) |
34 | 34 | ->setDescription(_t( |
35 | 35 | __CLASS__ . '.SearchSynonyms_Description', |
36 | - 'Enter as many comma separated synonyms as you wish, where '. |
|
36 | + 'Enter as many comma separated synonyms as you wish, where ' . |
|
37 | 37 | 'each line represents a group of synonyms.<br /> ' . |
38 | 38 | 'You will need to run <a rel="external" target="_blank" href="dev/tasks/Solr_Configure">' |
39 | 39 | . 'Solr_Configure</a> if you make any changes' |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | { |
86 | 86 | //if base url YML is defined in YML, use that |
87 | 87 | if (Config::inst()->get(BasePage::class, 'pdf_base_url')) { |
88 | - $pdfBaseUrl = Config::inst()->get(BasePage::class, 'pdf_base_url').'/'; |
|
88 | + $pdfBaseUrl = Config::inst()->get(BasePage::class, 'pdf_base_url') . '/'; |
|
89 | 89 | //otherwise, if we are CWP use the secure domain |
90 | 90 | } elseif (Environment::getEnv('CWP_SECURE_DOMAIN')) { |
91 | 91 | $pdfBaseUrl = Environment::getEnv('CWP_SECURE_DOMAIN') . '/'; |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | if ($results) { |
274 | 274 | $response = $response |
275 | 275 | ->customise($results) |
276 | - ->customise(array( 'Results' => $results->getResults() )); |
|
276 | + ->customise(array('Results' => $results->getResults())); |
|
277 | 277 | } |
278 | 278 | |
279 | 279 | // Render |
@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | public function getCMSFields() |
66 | 66 | { |
67 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
67 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
68 | 68 | $fields->removeByName('Date'); |
69 | 69 | |
70 | 70 | $dateTimeFields = array(); |
@@ -45,7 +45,7 @@ |
||
45 | 45 | |
46 | 46 | public function getCMSFields() |
47 | 47 | { |
48 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
48 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
49 | 49 | $fields->addFieldToTab( |
50 | 50 | 'Root.Main', |
51 | 51 | TextField::create('Author', $this->fieldLabel('Author')), |