Skip to content

Commit 50babee

Browse files
committed
Apply some phpstan detected errors fixes
[ci skip] Signed-off-by: William Desportes <[email protected]>
1 parent 707bbfd commit 50babee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Statements/CreateStatement.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class CreateStatement extends Statement
286286
*
287287
* Used by `CREATE TABLE`, `CREATE VIEW`
288288
*
289-
* @var SelectStatement
289+
* @var SelectStatement|null
290290
*/
291291
public $select;
292292

@@ -684,6 +684,7 @@ public function parse(Parser $parser, TokensList $list)
684684
$this->body[] = $token;
685685
}
686686
} elseif ($this->options->has('VIEW')) {
687+
/** @var Token $token */
687688
$token = $list->getNext(); // Skipping whitespaces and comments.
688689

689690
// Parsing columns list.

0 commit comments

Comments
 (0)