From eec2fb037014c721341f16c2ec01ce0515548a63 Mon Sep 17 00:00:00 2001 From: Jordi Kroon Date: Mon, 16 May 2022 16:25:26 +0200 Subject: [PATCH] Minor fixes --- composer.json | 10 +++++----- src/GeoAddress.php | 8 ++++---- .../geoaddressfield/GeoAddressFieldAsset.php | 2 +- src/fields/GeoAddressField.php | 6 +++--- src/models/GeoAddressModel.php | 2 +- src/models/GeoAddressSettingsModel.php | 2 +- src/services/GeoAddressService.php | 6 +++--- src/twigextensions/GeoAddressTwigExtension.php | 4 ++-- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index 5987e95..403ed22 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "description": "Geo Address fields for Craft Sections", "type": "craft-plugin", "support": { - "docs": "https://github.com/tdeNL/craftplugin-geoaddress/blob/master/README.md", - "issues": "https://github.com/tdeNL/craftplugin-geoaddress/issues" + "docs": "https://github.com/tdeNL/craft-geoaddress/blob/master/README.md", + "issues": "https://github.com/tdeNL/craft-geoaddress/issues" }, "license": "MIT", "authors": [ @@ -19,7 +19,7 @@ }, "autoload": { "psr-4": { - "TDE\\GeoAddress\\": "src/" + "tde\\craft\\geoaddress\\": "src/" } }, "extra": { @@ -30,9 +30,9 @@ "hasCpSection": false, "changelogUrl": "https://raw.githubusercontent.com/tdeNL/craftplugin-geoaddress/master/CHANGELOG.md", "components": { - "geoAddressService": "TDE\\GeoAddress\\services\\GeoAddressService" + "geoAddressService": "tde\\craft\\geoaddress\\services\\GeoAddressService" }, - "class": "TDE\\GeoAddress\\GeoAddress" + "class": "tde\\craft\\geoaddress" }, "config": { "allow-plugins": { diff --git a/src/GeoAddress.php b/src/GeoAddress.php index 6f01731..4895218 100644 --- a/src/GeoAddress.php +++ b/src/GeoAddress.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace TDE\GeoAddress; +namespace tde\craft\geoaddress; use Craft; use craft\base\Model; use craft\base\Plugin; use craft\services\Fields; use craft\events\RegisterComponentTypesEvent; -use TDE\GeoAddress\models\GeoAddressSettingsModel; -use TDE\GeoAddress\services\GeoAddressService; -use TDE\GeoAddress\twigextensions\GeoAddressTwigExtension; +use tde\craft\geoaddress\models\GeoAddressSettingsModel; +use tde\craft\geoaddress\services\GeoAddressService; +use tde\craft\geoaddress\twigextensions\GeoAddressTwigExtension; use yii\base\Event; use TDE\GeoAddress\fields\GeoAddressField; diff --git a/src/assetbundles/geoaddressfield/GeoAddressFieldAsset.php b/src/assetbundles/geoaddressfield/GeoAddressFieldAsset.php index e98f1fa..4d8b089 100644 --- a/src/assetbundles/geoaddressfield/GeoAddressFieldAsset.php +++ b/src/assetbundles/geoaddressfield/GeoAddressFieldAsset.php @@ -1,6 +1,6 @@