From b6b1c23575941a03e709eacf9ca34919550dce84 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 20 Nov 2018 23:05:56 +0100 Subject: [PATCH] fix phpcs offences --- lib/Result.php | 2 +- lib/template/error-json.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Result.php b/lib/Result.php index 5c39f473..a67c2fe4 100644 --- a/lib/Result.php +++ b/lib/Result.php @@ -72,7 +72,7 @@ class Result /** * Split a result array into highest ranked result and the rest * - * @param object[] $aResults List of results to split. + * @param object[] $aResults List of results to split. * * @return array[] */ diff --git a/lib/template/error-json.php b/lib/template/error-json.php index 81caa71d..67297dd1 100644 --- a/lib/template/error-json.php +++ b/lib/template/error-json.php @@ -2,7 +2,7 @@ $error = array( 'code' => $exception->getCode(), 'message' => $exception->getMessage() - ); + ); if (CONST_Debug) { $error['details'] = $exception->getFile() . '('. $exception->getLine() . ')'; -- 2.43.2