Skip to content

Commit fe4f5f7

Browse files
committed
Remove invalid condition
The OptionsArray does not support count(). Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 83e0dbc commit fe4f5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Statements/LoadStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function build()
197197
$ret .= ' ' . $this->fields_keyword . ' ' . $this->fields_options;
198198
}
199199

200-
if ($this->lines_options !== null && count($this->lines_options) > 0) {
200+
if ($this->lines_options !== null) {
201201
$ret .= ' LINES ' . $this->lines_options;
202202
}
203203

0 commit comments

Comments
 (0)