From 4a6829cf1069dc482b645d9af51b22c86f685b83 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 15 Oct 2019 11:15:45 +0300 Subject: [PATCH] fix output --- application/Espo/Core/Utils/Api/Output.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Utils/Api/Output.php b/application/Espo/Core/Utils/Api/Output.php index e7b79924b3..b9707e851c 100644 --- a/application/Espo/Core/Utils/Api/Output.php +++ b/application/Espo/Core/Utils/Api/Output.php @@ -71,7 +71,7 @@ class Output echo $data; } - public function processError(string $message = 'Error', int $statusCode = 500, bool $toPrint = false, $exception = null) + public function processError(string $message = 'Error', $statusCode = 500, bool $toPrint = false, $exception = null) { $currentRoute = $this->getSlim()->router()->getCurrentRoute(); @@ -99,7 +99,7 @@ class Output $this->displayError($message, $statusCode, $toPrint, $exception); } - public function displayError(string $text, int $statusCode = 500, bool $toPrint = false, $exception = null) + public function displayError(string $text, $statusCode = 500, bool $toPrint = false, $exception = null) { $logLevel = 'error'; $messageLineFile = null;