diff --git a/src/MysqlDataType.php b/src/MysqlDataType.php index 6483c15..1c970b3 100644 --- a/src/MysqlDataType.php +++ b/src/MysqlDataType.php @@ -43,6 +43,8 @@ enum MysqlDataType: int * @see 14.7.3 Binary Protocol Value * * @param int<0, max> $offset + * + * @throws SqlException */ public function decodeBinary(string $bytes, int &$offset = 0, int $flags = 0): int|float|string|null { @@ -117,6 +119,8 @@ public function decodeBinary(string $bytes, int &$offset = 0, int $flags = 0): i /** * @param int<0, max> $offset + * + * @throws SqlException */ public function decodeText(string $bytes, int &$offset = 0, int $flags = 0): int|float|string { @@ -262,6 +266,8 @@ public static function decodeNullTerminatedString(string $bytes, int &$offset = /** * @param int<0, max> $offset + * + * @throws SqlException */ public static function decodeString(string $bytes, int &$offset = 0): string {