Created remove a friend method

This commit is contained in:
Pierre
2017-12-04 20:18:30 +01:00
parent 310136c3b6
commit 2a9f0ed1a0
3 changed files with 46 additions and 3 deletions

View File

@ -487,7 +487,7 @@ class DBLibrary {
* @param Array $conditionsValues The values of condition
* @return Boolean True if succeed
*/
public function deleteEntry($tableName, $conditions = false, array $conditionsValues = array()) {
public function deleteEntry(string $tableName, $conditions = false, array $conditionsValues = array()) : bool {
//We try to perform the task
try{
//We check if any database is opened