Passed
Push — develop-3.3.x ( ad5a46...503268 )
by Mario
02:31
created
actions/vars.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 */
106 106
 	private function add_predefined_lang_vars(): void
107 107
 	{
108
-		array_walk($this->dp_vars, function (&$value) {
108
+		array_walk($this->dp_vars, function(&$value) {
109 109
 			$value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}'));
110 110
 		});
111 111
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
 		config $config,
42 42
 		language $language,
43 43
 		user $user
44
-	)
45
-	{
44
+	) {
46 45
 		$this->actions_core = $actions_core;
47 46
 		$this->actions_currency = $actions_currency;
48 47
 		$this->config = $config;
@@ -105,7 +104,8 @@  discard block
 block discarded – undo
105 104
 	 */
106 105
 	private function add_predefined_lang_vars(): void
107 106
 	{
108
-		array_walk($this->dp_vars, function (&$value) {
107
+		array_walk($this->dp_vars, function (&$value)
108
+		{
109 109
 			$value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}'));
110 110
 		});
111 111
 	}
Please login to merge, or discard this patch.
operators/transactions.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
 		if (!empty($keywords))
213 213
 		{
214 214
 			// Build pattern and keywords...
215
-			$keywords = array_map(function ($keyword) {
215
+			$keywords = array_map(function($keyword) {
216 216
 				return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char());
217 217
 			}, $keywords);
218 218
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,8 @@
 block discarded – undo
212 212
 		if (!empty($keywords))
213 213
 		{
214 214
 			// Build pattern and keywords...
215
-			$keywords = array_map(function ($keyword) {
215
+			$keywords = array_map(function ($keyword)
216
+			{
216 217
 				return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char());
217 218
 			}, $keywords);
218 219
 
Please login to merge, or discard this patch.
operators/compare.php 1 patch
Braces   +27 added lines, -9 removed lines patch added patch discarded remove patch
@@ -55,13 +55,31 @@
 block discarded – undo
55 55
 	 * @return bool
56 56
 	 * @access private
57 57
 	 */
58
-	private function compare_lt($a, $b) { return $a < $b; }
59
-	private function compare_lte($a, $b) { return $a <= $b; }
60
-	private function compare_eq($a, $b) { return $a == $b; }
61
-	private function compare_id($a, $b) { return $a === $b; }
62
-	private function compare_gte($a, $b) { return $a >= $b; }
63
-	private function compare_gt($a, $b) { return $a > $b; }
64
-	private function compare_diff($a, $b) { return $a <> $b; }
65
-	private function compare_not_eq($a, $b) { return $a != $b; }
66
-	private function compare_not_id($a, $b) { return $a !== $b; }
58
+	private function compare_lt($a, $b)
59
+	{
60
+return $a < $b; }
61
+	private function compare_lte($a, $b)
62
+	{
63
+return $a <= $b; }
64
+	private function compare_eq($a, $b)
65
+	{
66
+return $a == $b; }
67
+	private function compare_id($a, $b)
68
+	{
69
+return $a === $b; }
70
+	private function compare_gte($a, $b)
71
+	{
72
+return $a >= $b; }
73
+	private function compare_gt($a, $b)
74
+	{
75
+return $a > $b; }
76
+	private function compare_diff($a, $b)
77
+	{
78
+return $a <> $b; }
79
+	private function compare_not_eq($a, $b)
80
+	{
81
+return $a != $b; }
82
+	private function compare_not_id($a, $b)
83
+	{
84
+return $a !== $b; }
67 85
 }
Please login to merge, or discard this patch.