Remove all type declarations in DBHelper/DBStmtHelper methods inherited from PDO, for broad compatibility with PHP 7 and 8

This commit is contained in:
Kijin Sung 2023-01-16 22:21:48 +09:00
parent 80afad9d07
commit a6872d6e2a
2 changed files with 6 additions and 6 deletions

View file

@ -34,7 +34,7 @@ class DBStmtHelper extends \PDOStatement
* @param array $params
* @return bool
*/
public function execute(?array $params = null): bool
public function execute($params = null): bool
{
$start_time = microtime(true);
$db_class = DB::getInstance($this->_type);