]> git.openstreetmap.org Git - nominatim.git/commit
factor out check if a token fits current search
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Jul 2021 20:01:35 +0000 (22:01 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Jul 2021 20:01:35 +0000 (22:01 +0200)
commitb14ce959d9532f192b748b12f6c71f23a9c1a60b
tree52e688f3ad505badcf8a42bbfca4c323df3eaf6b
parenta48ebd9b477318bc5fdb44d7dc6bbf695911a4b9
factor out check if a token fits current search

Saves allocating an empty array.
lib-php/Geocode.php
lib-php/TokenCountry.php
lib-php/TokenHousenumber.php
lib-php/TokenPartial.php
lib-php/TokenPostcode.php
lib-php/TokenSpecialTerm.php
lib-php/TokenWord.php