X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/ee32315378868748fe3704616e9ca860cdc97da9..bc7adbae2bc8ebc61bca3800155d070908502dd9:/lib-php/TokenWord.php
diff --git a/lib-php/TokenWord.php b/lib-php/TokenWord.php
index 59456e35..a7557d38 100644
--- a/lib-php/TokenWord.php
+++ b/lib-php/TokenWord.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ * This file is part of Nominatim. (https://nominatim.org)
+ *
+ * Copyright (C) 2022 by the Nominatim developer community.
+ * For a full list of authors see the git log.
+ */
namespace Nominatim\Token;
@@ -54,7 +62,7 @@ class Word
public function extendSearch($oSearch, $oPosition)
{
// Full words can only be a name if they appear at the beginning
- // of the phrase. In structured search the name must forcably in
+ // of the phrase. In structured search the name must forcibly in
// the first phrase. In unstructured search it may be in a later
// phrase when the first phrase is a house number.
if ($oSearch->hasName()