mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
More PHP7 strict typing
This commit is contained in:
parent
3a7ec4ecb0
commit
e8d38a6870
6 changed files with 13 additions and 30 deletions
|
|
@ -170,6 +170,11 @@ class ServiceActions
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
error_log($oException->getMessage());
|
||||
if ($e = $oException->getPrevious()) {
|
||||
error_log("\t".$e->getMessage());
|
||||
}
|
||||
|
||||
$aResponseItem = $this->oActions->ExceptionResponse(
|
||||
empty($sAction) ? 'Unknown' : $sAction, $oException);
|
||||
|
||||
|
|
@ -193,7 +198,7 @@ class ServiceActions
|
|||
|
||||
if (\is_array($aResponseItem))
|
||||
{
|
||||
$aResponseItem['Time'] = (int) ((\microtime(true) - APP_START) * 1000);
|
||||
$aResponseItem['Time'] = (int) ((\microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']) * 1000);
|
||||
|
||||
$sUpdateToken = $this->oActions->GetUpdateAuthToken();
|
||||
if ($sUpdateToken)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue