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() . ')';