This commit is contained in:
2021-03-31 18:37:53 +08:00
parent 627faaf0c9
commit 3f6a19aea7
10 changed files with 17 additions and 75 deletions
+1 -3
View File
@@ -227,9 +227,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
/**
* @return mixed
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
* get last exception or other error
*/
public function getLastError(): mixed
+4 -12
View File
@@ -107,9 +107,7 @@ class Connection extends Component
/**
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function fill()
{
@@ -165,9 +163,7 @@ class Connection extends Component
/**
* @return mixed
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function getCacheDriver(): mixed
{
@@ -203,9 +199,7 @@ class Connection extends Component
/**
* @return \Snowflake\Pool\Connection
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
private function connections(): \Snowflake\Pool\Connection
{
@@ -293,9 +287,7 @@ class Connection extends Component
/**
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function recovery()
{