diff --git a/Admin/Update.php b/Admin/Update.php index 1964878..9ac0fec 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; use phpOMS\Module\InfoManager; - /** * Navigation class. * diff --git a/Models/AddressMapper.php b/Models/AddressMapper.php index 56efeb0..af92108 100644 --- a/Models/AddressMapper.php +++ b/Models/AddressMapper.php @@ -54,5 +54,4 @@ class AddressMapper extends DataMapperAbstract * @since 1.0.0 */ protected static $primaryField = 'profile_address_id'; - } diff --git a/Models/ContactElementMapper.php b/Models/ContactElementMapper.php index 90f0247..baf1b78 100644 --- a/Models/ContactElementMapper.php +++ b/Models/ContactElementMapper.php @@ -46,5 +46,4 @@ class ContactElementMapper extends DataMapperAbstract * @since 1.0.0 */ protected static $primaryField = 'profile_contact_id'; - } diff --git a/Models/NullProfile.php b/Models/NullProfile.php index 3208bba..42fa3bd 100644 --- a/Models/NullProfile.php +++ b/Models/NullProfile.php @@ -14,7 +14,6 @@ declare(strict_types = 1); namespace Modules\Profile\Models; - /** * Account class. * @@ -25,4 +24,4 @@ namespace Modules\Profile\Models; */ class NullProfile extends Profile { -} \ No newline at end of file +} diff --git a/Models/PermissionState.php b/Models/PermissionState.php index 2416bf9..7d64dc3 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -1,30 +1,30 @@ -image = new NullMedia(); + $this->image = new NullMedia(); $this->birthday = new \DateTime('now'); - $this->account = new Account(); + $this->account = new Account(); $this->calendar = new Calendar(); } diff --git a/Models/ProfileMapper.php b/Models/ProfileMapper.php index 18a4eb2..c705fe7 100644 --- a/Models/ProfileMapper.php +++ b/Models/ProfileMapper.php @@ -90,5 +90,4 @@ class ProfileMapper extends DataMapperAbstract * @since 1.0.0 */ protected static $primaryField = 'profile_account_id'; - } diff --git a/Theme/Backend/Components/AccountGroupSelector/BaseView.php b/Theme/Backend/Components/AccountGroupSelector/BaseView.php index 26df139..a7d9631 100644 --- a/Theme/Backend/Components/AccountGroupSelector/BaseView.php +++ b/Theme/Backend/Components/AccountGroupSelector/BaseView.php @@ -21,7 +21,7 @@ use phpOMS\Message\ResponseAbstract; class BaseView extends View { - private $id = ''; + private $id = ''; private $isRequired = false; public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response) @@ -45,9 +45,9 @@ class BaseView extends View public function render(...$data) : string { - $this->id = $data[0]; + $this->id = $data[0]; $this->isRequired = $data[1] ?? false; $this->getData('popup')->setId($this->id); return parent::render(); } -} \ No newline at end of file +} diff --git a/Theme/Backend/Components/AccountGroupSelector/PopupView.php b/Theme/Backend/Components/AccountGroupSelector/PopupView.php index 79b0f48..736671a 100644 --- a/Theme/Backend/Components/AccountGroupSelector/PopupView.php +++ b/Theme/Backend/Components/AccountGroupSelector/PopupView.php @@ -44,4 +44,4 @@ class PopupView extends View $this->id = $data[0] ?? $this->id; return parent::render(); } -} \ No newline at end of file +}