diff --git a/src/Driver/Result.php b/src/Driver/Result.php index 64fe253e4b3..500cb88701b 100644 --- a/src/Driver/Result.php +++ b/src/Driver/Result.php @@ -70,6 +70,8 @@ public function fetchFirstColumn(): array; * * If the number of rows exceeds {@see PHP_INT_MAX}, it might be returned as string if the driver supports it. * + * @return int|numeric-string + * * @throws Exception */ public function rowCount(): int|string; diff --git a/src/Result.php b/src/Result.php index b15babfade7..d532531f586 100644 --- a/src/Result.php +++ b/src/Result.php @@ -225,6 +225,8 @@ public function iterateColumn(): Traversable * * If the number of rows exceeds {@see PHP_INT_MAX}, it might be returned as string if the driver supports it. * + * @return int|numeric-string + * * @throws Exception */ public function rowCount(): int|string diff --git a/src/Statement.php b/src/Statement.php index 78997097d50..9b4a3b43bca 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -124,6 +124,8 @@ public function executeQuery(): Result * * If the number of rows exceeds {@see PHP_INT_MAX}, it might be returned as string if the driver supports it. * + * @return int|numeric-string + * * @throws Exception */ public function executeStatement(): int|string