@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | class HtmlRaw extends Textarea |
| 17 | 17 | { |
| 18 | - const TEXT_TRUNCATE_LENGTH=250; |
|
| 18 | + const TEXT_TRUNCATE_LENGTH = 250; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Set some allowable tags for single text fields |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * @inheritdoc |
| 35 | 35 | */ |
| 36 | - public function getValueDisplay($context='') |
|
| 36 | + public function getValueDisplay($context = '') |
|
| 37 | 37 | { |
| 38 | 38 | $text = parent::getValueDisplay(); |
| 39 | 39 | if (strlen($text) > self::TEXT_TRUNCATE_LENGTH) |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * @inheritdoc |
| 56 | 56 | */ |
| 57 | - public function processAsFilter(IQuery $query, $searchData=null) |
|
| 57 | + public function processAsFilter(IQuery $query, $searchData = null) |
|
| 58 | 58 | { |
| 59 | 59 | $searchData = ($searchData === null) ? $this->getValue() : $searchData; |
| 60 | 60 | if ($searchData !== '') { |