Skip to content

Commit 0bd40a6

Browse files
committed
Fix phpcs: place if condition on single line
Signed-off-by: Nicolai Ehrhardt <[email protected]>
1 parent 166fa16 commit 0bd40a6

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Components/SetOperation.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,7 @@ public static function parse(Parser $parser, TokensList $list, array $options =
121121
$list,
122122
['breakOnAlias' => true]
123123
);
124-
if (
125-
$tmp === null
126-
&& $token->type === Token::TYPE_KEYWORD
127-
&& $token->value === 'ON'
128-
) {
124+
if ($tmp === null && $token->type === Token::TYPE_KEYWORD && $token->value === 'ON') {
129125
$tmp = new Expression($token->token);
130126
} elseif ($tmp === null) {
131127
$parser->error('Missing expression.', $token);

0 commit comments

Comments
 (0)