Skip to content

Commit 1111a33

Browse files
committed
Remove unused assigments
Backports phpmyadmin/sql-parser@0b2054c
1 parent db3f584 commit 1111a33

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

wp-includes/sqlite/class-wp-sqlite-token.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class WP_SQLite_Token {
161161
*
162162
* @var mixed|string|null
163163
*/
164-
public $keyword;
164+
public $keyword = null;
165165

166166
/**
167167
* The type of this token.
@@ -195,11 +195,10 @@ class WP_SQLite_Token {
195195
* @param int $flags The flags of the token.
196196
*/
197197
public function __construct( $token, $type = 0, $flags = 0 ) {
198-
$this->token = $token;
199-
$this->type = $type;
200-
$this->flags = $flags;
201-
$this->keyword = null;
202-
$this->value = $this->extract();
198+
$this->token = $token;
199+
$this->type = $type;
200+
$this->flags = $flags;
201+
$this->value = $this->extract();
203202
}
204203

205204
/**

0 commit comments

Comments
 (0)