mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 11:34:07 +00:00
fix phpcs offences
This commit is contained in:
@@ -72,7 +72,7 @@ class Result
|
|||||||
/**
|
/**
|
||||||
* Split a result array into highest ranked result and the rest
|
* 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[]
|
* @return array[]
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
$error = array(
|
$error = array(
|
||||||
'code' => $exception->getCode(),
|
'code' => $exception->getCode(),
|
||||||
'message' => $exception->getMessage()
|
'message' => $exception->getMessage()
|
||||||
);
|
);
|
||||||
|
|
||||||
if (CONST_Debug) {
|
if (CONST_Debug) {
|
||||||
$error['details'] = $exception->getFile() . '('. $exception->getLine() . ')';
|
$error['details'] = $exception->getFile() . '('. $exception->getLine() . ')';
|
||||||
|
|||||||
Reference in New Issue
Block a user