Made connect_error a private function #530
This commit is contained in:
parent
3bf4790487
commit
d94960d996
@ -93,8 +93,10 @@ final class Database {
|
|||||||
/**
|
/**
|
||||||
* @return string Returns the string description of the last connect error
|
* @return string Returns the string description of the last connect error
|
||||||
*/
|
*/
|
||||||
public static function connect_error() {
|
private static function connect_error() {
|
||||||
|
|
||||||
return mysqli_connect_error();
|
return mysqli_connect_error();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user