]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1114 from mtmail/fix-tiny-phplint-error
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 23 Jul 2018 18:35:38 +0000 (20:35 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Jul 2018 18:35:38 +0000 (20:35 +0200)
PHP code style: use long array syntax

lib/template/address-geocodejson.php

index 68fae7d1605dcde0b883be5e806dec791d662291..032dcf4347a1046eb684a517af6cebb980aef176 100644 (file)
@@ -76,6 +76,6 @@ if (empty($aPlace)) {
                                            'licence' => 'ODbL',
                                            'query' => $sQuery
                                           ),
-                           'features' => [$aFilteredPlaces]
+                           'features' => array($aFilteredPlaces)
                           ));
 }