@@ -199,9 +199,9 @@ |
||
| 199 | 199 | if (!$terms) { |
| 200 | 200 | return null; |
| 201 | 201 | } |
| 202 | - $link = 'search/SearchForm?Search='.rawurlencode($terms); |
|
| 202 | + $link = 'search/SearchForm?Search=' . rawurlencode($terms); |
|
| 203 | 203 | if ($format) { |
| 204 | - $link .= '&format='.rawurlencode($format); |
|
| 204 | + $link .= '&format=' . rawurlencode($format); |
|
| 205 | 205 | } |
| 206 | 206 | return $link; |
| 207 | 207 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | TextareaField::create('SearchSynonyms', _t('CwpConfig.SearchSynonyms', 'Search Synonyms')) |
| 34 | 34 | ->setDescription(_t( |
| 35 | 35 | 'CwpConfig.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' |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | ); |
| 76 | 76 | |
| 77 | 77 | // strip comments (lines beginning with "#") |
| 78 | - $lines = array_filter($lines, function ($line) { |
|
| 78 | + $lines = array_filter($lines, function($line) { |
|
| 79 | 79 | $line = trim($line); |
| 80 | 80 | |
| 81 | 81 | return !empty($line) && $line[0] !== '#'; |