Commit 360b1b21 authored by Alex Ne's avatar Alex Ne

Spell fix

parent 0aae710d
......@@ -50,14 +50,14 @@ class PDO {
*/
protected $try_count = 0;
/**
* @param $Credetional
* @param $Credential
*/
public function __construct($Credetional) {
if ($Credetional instanceof Credetional) {
$this->Credetional = $Credetional;
public function __construct($Credential) {
if ($Credential instanceof Credetional) {
$this->Credetional = $Credential;
$this->connect();
} else {
throw new PDO_CredetionalError("Object not valid Credetional", 1, ["Credetional" => $Credetional]);
throw new PDO_CredetionalError("Object not valid Credential", 1, ["Credential" => $Credential]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment