Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
360b1b21
Commit
360b1b21
authored
Mar 27, 2018
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spell fix
parent
0aae710d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
PDO.php
Database/Driver/PDO.php
+5
-5
No files found.
Database/Driver/PDO.php
View file @
360b1b21
...
@@ -50,14 +50,14 @@ class PDO {
...
@@ -50,14 +50,14 @@ class PDO {
*/
*/
protected
$try_count
=
0
;
protected
$try_count
=
0
;
/**
/**
* @param $Crede
tion
al
* @param $Crede
nti
al
*/
*/
public
function
__construct
(
$Crede
tion
al
)
{
public
function
__construct
(
$Crede
nti
al
)
{
if
(
$Crede
tion
al
instanceof
Credetional
)
{
if
(
$Crede
nti
al
instanceof
Credetional
)
{
$this
->
Credetional
=
$Crede
tion
al
;
$this
->
Credetional
=
$Crede
nti
al
;
$this
->
connect
();
$this
->
connect
();
}
else
{
}
else
{
throw
new
PDO_CredetionalError
(
"Object not valid Crede
tional"
,
1
,
[
"Credetional"
=>
$Credetion
al
]);
throw
new
PDO_CredetionalError
(
"Object not valid Crede
ntial"
,
1
,
[
"Credential"
=>
$Credenti
al
]);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment