Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Jan 7, 2022
1 parent 2977579 commit 255d266
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Db/Driver/Swoole/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ public function rewind(): void
/**
* {@inheritDoc}
*/
#[\ReturnTypeWillChange]
public function valid()
public function valid(): bool
{
return false !== $this->current();
}
Expand Down

0 comments on commit 255d266

Please sign in to comment.