Passed
Push — develop ( 29faa4...07e7ff )
by Neill
33:04 queued 19:04
created
neon/core/form/fields/SwitchButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 	/**
84 84
 	 * @inheritdoc
85 85
 	 */
86
-	public function getValueDisplay($context='')
86
+	public function getValueDisplay($context = '')
87 87
 	{
88 88
 		return $this->value ? $this->trueLabel : $this->falseLabel;
89 89
 	}
Please login to merge, or discard this patch.
neon/core/form/fields/Checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 	/**
79 79
 	 * @inheritdoc
80 80
 	 */
81
-	public function getValueDisplay($context='')
81
+	public function getValueDisplay($context = '')
82 82
 	{
83 83
 		return $this->getData() ? $this->trueLabel : $this->falseLabel;
84 84
 	}
Please login to merge, or discard this patch.
neon/core/form/fields/Choice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
 	 * Assumes a single value for the choice
154 154
 	 * @return string
155 155
 	 */
156
-	public function getValueDisplay($context='')
156
+	public function getValueDisplay($context = '')
157 157
 	{
158 158
 		$items = $this->getItems();
159 159
 		return isset($items[$this->getValue()]) ? $items[$this->getValue()] : '';
Please login to merge, or discard this patch.
neon/core/form/fields/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	/**
98 98
 	 * @inheritdoc
99 99
 	 */
100
-	public function getValueDisplay($context='')
100
+	public function getValueDisplay($context = '')
101 101
 	{
102 102
 		if (empty($this->value))
103 103
 			return Html::encodeEntities($this->value);
Please login to merge, or discard this patch.
neon/core/form/fields/el/Color.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * @inheritdoc
37 37
 	 */
38
-	public function processAsFilter(IQuery $query, $searchData=null)
38
+	public function processAsFilter(IQuery $query, $searchData = null)
39 39
 	{
40 40
 		$searchData = ($searchData === null) ? $this->getValue() : $searchData;
41 41
 		if (!empty($searchData)) {
Please login to merge, or discard this patch.
neon/core/form/fields/el/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	/**
51 51
 	 * @inheritdoc
52 52
 	 */
53
-	public function getValueDisplay($context='')
53
+	public function getValueDisplay($context = '')
54 54
 	{
55 55
 		return neon()->formatter->asDate($this->getValue());
56 56
 	}
Please login to merge, or discard this patch.
neon/core/form/fields/el/DateTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	/**
48 48
 	 * @inheritdoc
49 49
 	 */
50
-	public function getValueDisplay($context='')
50
+	public function getValueDisplay($context = '')
51 51
 	{
52 52
 		return neon()->formatter->asDatetime($this->getValue());
53 53
 	}
Please login to merge, or discard this patch.
neon/core/form/fields/MaskedInput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * @inheritdoc
37 37
 	 */
38
-	public function processAsFilter(IQuery $query, $searchData=null)
38
+	public function processAsFilter(IQuery $query, $searchData = null)
39 39
 	{
40 40
 		$searchData = ($searchData === null) ? $this->getValue() : $searchData;
41 41
 		if (!empty($searchData)) {
Please login to merge, or discard this patch.
neon/core/form/fields/FileMultiple.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,14 +35,14 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * @inheritdoc
37 37
 	 */
38
-	public function getValueDisplay($context='')
38
+	public function getValueDisplay($context = '')
39 39
 	{
40 40
 		if (empty($this->value))
41 41
 			return Html::encodeEntities($this->value);
42 42
 		$display = [];
43 43
 		foreach ($this->value as $file)
44 44
 			$display[] = Html::a(neon()->firefly->getFileName($file), neon()->firefly->getUrl($file), ['target' => '_blank']);
45
-		return implode(', <br>',$display);
45
+		return implode(', <br>', $display);
46 46
 	}
47 47
 
48 48
 	/**
Please login to merge, or discard this patch.