Passed
Push — develop ( 7f9ecb...3bf6ec )
by nguereza
02:15
created
src/Operator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class Operator
56 56
  * @package Platine\Expression
57 57
  */
58
-class Operator
59
-{
58
+class Operator {
60 59
     /**
61 60
      * Number of function argument
62 61
      * @var int
Please login to merge, or discard this patch.
src/CustomFunction.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @class CustomFunction
56 56
  * @package Platine\Expression
57 57
  */
58
-class CustomFunction
59
-{
58
+class CustomFunction {
60 59
     /**
61 60
      * Number of function argument required
62 61
      * @var int
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * @param string $name The function name
69 68
      * @param callable $function The function to be called
70 69
      */
71
-    public function __construct(protected string $name, protected $function)
72
-    {
70
+    public function __construct(protected string $name, protected $function) {
73 71
         $this->name = $name;
74 72
         $this->function = $function;
75 73
 
Please login to merge, or discard this patch.
src/Executor.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @class Executor
56 56
  * @package Platine\Expression
57 57
  */
58
-class Executor
59
-{
58
+class Executor {
60 59
     /**
61 60
      * The variable list
62 61
      * @var array<string, mixed>
@@ -96,16 +95,14 @@  discard block
 block discarded – undo
96 95
     /**
97 96
      * Create new instance
98 97
      */
99
-    public function __construct()
100
-    {
98
+    public function __construct() {
101 99
         $this->addDefaults();
102 100
     }
103 101
 
104 102
     /**
105 103
      * When do clone of this object
106 104
      */
107
-    public function __clone()
108
-    {
105
+    public function __clone() {
109 106
         $this->addDefaults();
110 107
     }
111 108
 
Please login to merge, or discard this patch.
src/Token.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class Token
52 52
  * @package Platine\Expression
53 53
  */
54
-class Token
55
-{
54
+class Token {
56 55
     /**
57 56
      * Constants
58 57
      */
Please login to merge, or discard this patch.
src/Tokenizer.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @class Tokenizer
57 57
  * @package Platine\Expression
58 58
  */
59
-class Tokenizer
60
-{
59
+class Tokenizer {
61 60
     /**
62 61
      * List of token
63 62
      * @var Token[]
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
      * @param string $input
112 111
      * @param array<string, Operator> $operators
113 112
      */
114
-    public function __construct(string $input, array $operators)
115
-    {
113
+    public function __construct(string $input, array $operators) {
116 114
         $this->input = $input;
117 115
         $this->operators = $operators;
118 116
     }
Please login to merge, or discard this patch.