mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
"Return type declaration must be compatible with parent" See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
This commit is contained in:
@@ -147,6 +147,7 @@ class QueryLogEntry
|
||||
$iRepeat = utils::ReadParam('repeat', 3);
|
||||
try
|
||||
{
|
||||
$resQuery = null;
|
||||
$fRefTime = MyHelpers::getmicrotime();
|
||||
for($i = 0 ; $i < $iRepeat ; $i++)
|
||||
{
|
||||
@@ -167,7 +168,6 @@ class QueryLogEntry
|
||||
catch (Exception $e)
|
||||
{
|
||||
$this->aErrors[] = "Failed to execute the SQL:".$e->getMessage();
|
||||
$resQuery = null;
|
||||
}
|
||||
if ($resQuery)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user