Completed
Push — master ( 72888e...28e057 )
by Thomas
04:33
created
autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * @param string $class The fully-qualified class name.
9 9
  * @return void
10 10
  */
11
-spl_autoload_register(function ($class) {
11
+spl_autoload_register(function($class) {
12 12
 
13 13
     // project-specific namespace prefix
14 14
     $prefix = 'LogicTree\\';
Please login to merge, or discard this patch.
src/Operator/OperatorPool.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Operator/Comparator/RegexpOperator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Node/NodeInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.