Completed
Branch master (e01179)
by Thomas
03:56
created
Category
examples/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * See LICENSE bundled with this library for license details.
5 5
  */
6 6
 
7
-require_once __DIR__.'/../autoloader.php';
7
+require_once __DIR__ . '/../autoloader.php';
8 8
 
9 9
 /**
10 10
  * Class CustomOperator
Please login to merge, or discard this patch.
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
@@ -117,8 +117,8 @@
 block discarded – undo
117 117
 
118 118
     private function retrieveDefaultOperators(): array
119 119
     {
120
-        return array_map(static function ($operators) {
121
-            return array_map(static function ($operator) {
120
+        return array_map(static function($operators) {
121
+            return array_map(static function($operator) {
122 122
                 return new $operator();
123 123
             }, $operators);
124 124
         }, self::DEFAULT_OPERATORS);
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 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 CombineInterface|null $condition
40 40
      * @return 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.