phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent 73a0064083
commit 0c3c479696
5 changed files with 22 additions and 22 deletions

View File

@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module path. * Module path.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_PATH = __DIR__ . '/../'; public const MODULE_PATH = __DIR__ . '/../';
@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module version. * Module version.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_VERSION = '1.0.0'; public const MODULE_VERSION = '1.0.0';
@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module name. * Module name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_NAME = 'Profile'; public const MODULE_NAME = 'Profile';
@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module id. * Module id.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_ID = 1000300000; public const MODULE_ID = 1000300000;
@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Providing. * Providing.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $providing = []; protected static array $providing = [];
@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Dependencies. * Dependencies.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $dependencies = []; protected static array $dependencies = [];

View File

@ -27,7 +27,7 @@ class ContactElement
/** /**
* ID. * ID.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $id = 0; protected int $id = 0;
@ -37,7 +37,7 @@ class ContactElement
/** /**
* Description. * Description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $description = ''; private string $description = '';

View File

@ -29,7 +29,7 @@ final class ContactElementMapper extends DataMapperAbstract
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -39,7 +39,7 @@ final class ContactElementMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'profile_contact'; protected static string $table = 'profile_contact';
@ -47,7 +47,7 @@ final class ContactElementMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'profile_contact_id'; protected static string $primaryField = 'profile_contact_id';

View File

@ -34,7 +34,7 @@ class Profile implements \JsonSerializable
/** /**
* Id. * Id.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $id = 0; protected int $id = 0;
@ -42,7 +42,7 @@ class Profile implements \JsonSerializable
/** /**
* Profile image. * Profile image.
* *
* @var null|int|Media * @var null|int|Media
* @since 1.0.0 * @since 1.0.0
*/ */
protected $image = null; protected $image = null;
@ -50,7 +50,7 @@ class Profile implements \JsonSerializable
/** /**
* Birthday. * Birthday.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
protected \DateTime $birthday; protected \DateTime $birthday;
@ -58,7 +58,7 @@ class Profile implements \JsonSerializable
/** /**
* Account. * Account.
* *
* @var Account * @var Account
* @since 1.0.0 * @since 1.0.0
*/ */
protected $account = null; protected $account = null;
@ -66,7 +66,7 @@ class Profile implements \JsonSerializable
/** /**
* Location data. * Location data.
* *
* @var Location[] * @var Location[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected array $location = []; protected array $location = [];

View File

@ -14,10 +14,10 @@ declare(strict_types=1);
namespace Modules\Profile\Models; namespace Modules\Profile\Models;
use Modules\Address\Models\AddressMapper;
use Modules\Admin\Models\AccountMapper; use Modules\Admin\Models\AccountMapper;
use Modules\Media\Models\MediaMapper; use Modules\Media\Models\MediaMapper;
use phpOMS\DataStorage\Database\DataMapperAbstract; use phpOMS\DataStorage\Database\DataMapperAbstract;
use Modules\Address\Models\AddressMapper;
/** /**
* Profile mapper. * Profile mapper.
@ -32,7 +32,7 @@ final class ProfileMapper extends DataMapperAbstract
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string|array>> * @var array<string, array<string, bool|string|array>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -45,7 +45,7 @@ final class ProfileMapper extends DataMapperAbstract
/** /**
* Has one relation. * Has one relation.
* *
* @var array<string, array<string, string>> * @var array<string, array<string, string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $ownsOne = [ protected static array $ownsOne = [
@ -62,7 +62,7 @@ final class ProfileMapper extends DataMapperAbstract
/** /**
* Has many relation. * Has many relation.
* *
* @var array<string, array<string, null|string>> * @var array<string, array<string, null|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $hasMany = [ protected static array $hasMany = [
@ -77,7 +77,7 @@ final class ProfileMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'profile_account'; protected static string $table = 'profile_account';
@ -85,7 +85,7 @@ final class ProfileMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'profile_account_id'; protected static string $primaryField = 'profile_account_id';