diff --git a/src/Db/Driver/Swoole/Statement.php b/src/Db/Driver/Swoole/Statement.php index 57b4b60..95ad957 100644 --- a/src/Db/Driver/Swoole/Statement.php +++ b/src/Db/Driver/Swoole/Statement.php @@ -396,8 +396,7 @@ public function rewind(): void /** * {@inheritDoc} */ - #[\ReturnTypeWillChange] - public function valid() + public function valid(): bool { return false !== $this->current(); }