@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Greater 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_Greater'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Greater'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Greater extends BinaryOp |
|
8 | -{ |
|
7 | +class Greater extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '>'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Equal 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_Equal'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Equal'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Equal extends BinaryOp |
|
8 | -{ |
|
7 | +class Equal extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '=='; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class GreaterOrEqual 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_GreaterOrEqual'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_GreaterOrEqual'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class GreaterOrEqual extends BinaryOp |
|
8 | -{ |
|
7 | +class GreaterOrEqual extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '>='; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Mod 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_Mod'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Mod'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Mod extends BinaryOp |
|
8 | -{ |
|
7 | +class Mod extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '%'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class LogicalAnd extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return 'and'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return 'and'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_LogicalAnd'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_LogicalAnd'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class LogicalAnd extends BinaryOp |
|
8 | -{ |
|
7 | +class LogicalAnd extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return 'and'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class LogicalOr extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return 'or'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return 'or'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_LogicalOr'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_LogicalOr'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class LogicalOr extends BinaryOp |
|
8 | -{ |
|
7 | +class LogicalOr extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return 'or'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class NotIdentical 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_NotIdentical'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_NotIdentical'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class NotIdentical extends BinaryOp |
|
8 | -{ |
|
7 | +class NotIdentical extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '!=='; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class Div 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_Div'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_Div'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class Div extends BinaryOp |
|
8 | -{ |
|
7 | +class Div extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return '/'; |
11 | 10 | } |
@@ -6,11 +6,11 @@ |
||
6 | 6 | |
7 | 7 | class LogicalXor extends BinaryOp |
8 | 8 | { |
9 | - public function getOperatorSigil() : string { |
|
10 | - return 'xor'; |
|
11 | - } |
|
9 | + public function getOperatorSigil() : string { |
|
10 | + return 'xor'; |
|
11 | + } |
|
12 | 12 | |
13 | - public function getType() : string { |
|
14 | - return 'Expr_BinaryOp_LogicalXor'; |
|
15 | - } |
|
13 | + public function getType() : string { |
|
14 | + return 'Expr_BinaryOp_LogicalXor'; |
|
15 | + } |
|
16 | 16 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use PhpParser\Node\Expr\BinaryOp; |
6 | 6 | |
7 | -class LogicalXor extends BinaryOp |
|
8 | -{ |
|
7 | +class LogicalXor extends BinaryOp { |
|
9 | 8 | public function getOperatorSigil() : string { |
10 | 9 | return 'xor'; |
11 | 10 | } |