1
0
Fork 0
mirror of synced 2024-05-17 19:22:34 +12:00

Implement Suggestions

This commit is contained in:
Bradley Schofield 2021-06-23 15:02:24 +01:00
parent 1cf66b5934
commit 84f88628f5
2 changed files with 4 additions and 5 deletions

View file

@ -91,7 +91,7 @@ abstract class Adapter
/**
* Delete Unique Key.
*
* @param String $key
* @param string $key
*
* @return array
*/
@ -100,7 +100,7 @@ abstract class Adapter
/**
* Add Unique Key.
*
* @param String $key
* @param string $key
*
* @return array
*/

View file

@ -360,7 +360,7 @@ class MySQL extends Adapter
/**
* Delete Unique Key.
*
* @param String $key
* @param string $key
*
* @return array
*
@ -380,13 +380,12 @@ class MySQL extends Adapter
/**
* Add Unique Key.
*
* @param String $key
* @param string $key
*
* @return array
*
* @throws Exception
*/
public function addUniqueKey($key)
{
$st = $this->getPDO()->prepare('INSERT INTO `'.$this->getNamespace().'.database.unique`