removing some code smells, found in the various code checker tools

This commit is contained in:
El RIDO
2016-07-11 15:47:42 +02:00
parent c33c50f775
commit 90a26d8fcb
2 changed files with 118 additions and 58 deletions

View File

@@ -315,7 +315,7 @@ class privatebin_db extends privatebin_abstract
* @param string $parentid
* @param string $commentid
* @param array $comment
* @return int|false
* @return bool
*/
public function createComment($pasteid, $parentid, $commentid, $comment)
{
@@ -397,7 +397,7 @@ class privatebin_db extends privatebin_abstract
* @param string $sql
* @param array $params
* @throws PDOException
* @return array
* @return bool
*/
private static function _exec($sql, array $params)
{