phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent ed30e69166
commit bc06534cfa
3 changed files with 22 additions and 22 deletions

View File

@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module path.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_PATH = __DIR__ . '/../';
@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module version.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_VERSION = '1.0.0';
@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module name.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_NAME = 'Auditor';
@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module id.
*
* @var int
* @var int
* @since 1.0.0
*/
public const MODULE_ID = 1006200000;
@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Providing.
*
* @var string[]
* @var string[]
* @since 1.0.0
*/
protected static array $providing = [];
@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Dependencies.
*
* @var string[]
* @var string[]
* @since 1.0.0
*/
protected static array $dependencies = [];

View File

@ -29,7 +29,7 @@ class Audit
/**
* Audit id.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -37,7 +37,7 @@ class Audit
/**
* Audit type.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $type;
@ -45,7 +45,7 @@ class Audit
/**
* Audit subtype.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $subtype;
@ -53,7 +53,7 @@ class Audit
/**
* Audit module.
*
* @var null|string
* @var null|string
* @since 1.0.0
*/
private ?string $module;
@ -63,7 +63,7 @@ class Audit
*
* This could be used to reference other model ids
*
* @var null|string
* @var null|string
* @since 1.0.0
*/
private ?string $ref;
@ -73,7 +73,7 @@ class Audit
*
* Additional audit information
*
* @var null|string
* @var null|string
* @since 1.0.0
*/
private ?string $content;
@ -81,7 +81,7 @@ class Audit
/**
* Old value.
*
* @var null|string
* @var null|string
* @since 1.0.0
*/
private ?string $old;
@ -89,7 +89,7 @@ class Audit
/**
* New value.
*
* @var null|string
* @var null|string
* @since 1.0.0
*/
private ?string $new;
@ -97,7 +97,7 @@ class Audit
/**
* Account.
*
* @var Account|int
* @var Account|int
* @since 1.0.0
*/
private $createdBy;
@ -105,7 +105,7 @@ class Audit
/**
* Created at.
*
* @var \DateTime
* @var \DateTime
* @since 1.0.0
*/
private \DateTime $createdAt;
@ -113,7 +113,7 @@ class Audit
/**
* Ip of creator.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $ip = 0;

View File

@ -30,7 +30,7 @@ final class AuditMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array<string, array<string, bool|string>>
* @var array<string, array<string, bool|string>>
* @since 1.0.0
*/
protected static array $columns = [
@ -50,7 +50,7 @@ final class AuditMapper extends DataMapperAbstract
/**
* Belongs to.
*
* @var array<string, array<string, string>>
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static array $belongsTo = [
@ -63,7 +63,7 @@ final class AuditMapper extends DataMapperAbstract
/**
* Primary table.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $table = 'auditor_audit';
@ -71,7 +71,7 @@ final class AuditMapper extends DataMapperAbstract
/**
* Primary field name.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $primaryField = 'auditor_audit_id';
@ -79,7 +79,7 @@ final class AuditMapper extends DataMapperAbstract
/**
* Created at.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $createdAt = 'auditor_audit_created_at';