@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Coalesce extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '??'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '??'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_Coalesce'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Coalesce'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Coalesce extends BinaryOp |
|
8 | -{ |
|
7 | +class Coalesce extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '??'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Mul extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '*'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '*'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_Mul'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Mul'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Mul extends BinaryOp |
|
8 | -{ |
|
7 | +class Mul extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '*'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Identical extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '==='; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '==='; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_Identical'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Identical'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Identical extends BinaryOp |
|
8 | -{ |
|
7 | +class Identical extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '==='; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class ShiftRight extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '>>'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '>>'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_ShiftRight'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_ShiftRight'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class ShiftRight extends BinaryOp |
|
8 | -{ |
|
7 | +class ShiftRight extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '>>'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class ShiftLeft extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '<<'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '<<'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_ShiftLeft'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_ShiftLeft'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class ShiftLeft extends BinaryOp |
|
8 | -{ |
|
7 | +class ShiftLeft extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '<<'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class BooleanOr extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '||'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '||'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_BooleanOr'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_BooleanOr'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class BooleanOr extends BinaryOp |
|
8 | -{ |
|
7 | +class BooleanOr extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '||'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Spaceship extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '<=>'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '<=>'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_Spaceship'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Spaceship'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Spaceship extends BinaryOp |
|
8 | -{ |
|
7 | +class Spaceship extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '<=>'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class BooleanAnd extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '&&'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '&&'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_BooleanAnd'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_BooleanAnd'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class BooleanAnd extends BinaryOp |
|
8 | -{ |
|
7 | +class BooleanAnd extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '&&'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class BitwiseXor extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return '^'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return '^'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_BitwiseXor'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_BitwiseXor'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class BitwiseXor extends BinaryOp |
|
8 | -{ |
|
7 | +class BitwiseXor extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '^'; |
11 | 10 | } |