Fixes for array ( calls, fixes for phan warning reports

Renamed all array ( to array( that where left over

Fixed various minor bugs for phan level 0 reporting
This commit is contained in:
Clemens Schwaighofer
2019-09-20 13:15:09 +09:00
parent ef1df6f171
commit 63bcdc0eff
10 changed files with 86 additions and 50 deletions

View File

@@ -443,7 +443,7 @@ class IO extends \CoreLibs\Basic
{
if (isset($this->dbh) && $this->dbh) {
$this->db_functions->__dbClose();
unset($this->dbh);
$this->dbh = null;
}
}
@@ -559,7 +559,7 @@ class IO extends \CoreLibs\Basic
public function __dbError($cursor = false, string $msg = ''): void
{
$pg_error_string = '';
$where_called = $this->getCallerMethod();
$where_called = (string)$this->getCallerMethod();
if ($cursor) {
$pg_error_string = $this->db_functions->__dbPrintError($cursor);
}
@@ -890,7 +890,7 @@ class IO extends \CoreLibs\Basic
{
if ($this->dbh) {
$this->db_functions->__dbClose();
unset($this->dbh);
$this->dbh = null;
}
}