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. * Module path.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_PATH = __DIR__ . '/../'; public const MODULE_PATH = __DIR__ . '/../';
@ -39,7 +39,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';
@ -47,7 +47,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 = 'Auditor'; public const MODULE_NAME = 'Auditor';
@ -55,7 +55,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 = 1006200000; public const MODULE_ID = 1006200000;
@ -63,7 +63,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 = [];
@ -71,7 +71,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

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

View File

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