This commit is contained in:
2021-10-18 11:35:13 +08:00
parent a5b6f50231
commit 8601f2cbe7
+2 -2
View File
@@ -146,7 +146,7 @@ class PDO implements StopHeartbeatCheck
/**
* @param string $sql
* @param array $params
* @return array
* @return bool|array|null
* @throws Exception
*/
public function fetchAll(string $sql, array $params = []): bool|null|array
@@ -162,7 +162,7 @@ class PDO implements StopHeartbeatCheck
/**
* @param string $sql
* @param array $params
* @return array
* @return bool|array|null
* @throws Exception
*/
public function fetch(string $sql, array $params = []): bool|null|array