@@ -132,8 +132,8 @@ |
||
132 | 132 | */ |
133 | 133 | private function retrieveDefaultOperators(): array |
134 | 134 | { |
135 | - return \array_map(function ($operators) { |
|
136 | - return \array_map(function ($operator) { |
|
135 | + return \array_map(function($operators) { |
|
136 | + return \array_map(function($operator) { |
|
137 | 137 | return new $operator(); |
138 | 138 | }, $operators); |
139 | 139 | }, self::DEFAULT_OPERATORS); |
@@ -22,6 +22,6 @@ |
||
22 | 22 | */ |
23 | 23 | public function executeComparison($expr1, $expr2): bool |
24 | 24 | { |
25 | - return (bool) \preg_match($expr1, $expr2); |
|
25 | + return (bool)\preg_match($expr1, $expr2); |
|
26 | 26 | } |
27 | 27 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * @param string $operator |
25 | 25 | * @return \LogicTree\Node\NodeInterface |
26 | 26 | */ |
27 | - public function setOperator(string $operator);//: NodeInterface; |
|
27 | + public function setOperator(string $operator); //: NodeInterface; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Retrieve the parent combine |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param \LogicTree\Node\CombineInterface|null $condition |
40 | 40 | * @return \LogicTree\Node\NodeInterface |
41 | 41 | */ |
42 | - public function setParent(?CombineInterface $condition);//: NodeInterface; |
|
42 | + public function setParent(?CombineInterface $condition); //: NodeInterface; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Check if it has an existing parent |