Skip to content

Commit

Permalink
Deleting docblocks and descriptions that were only put there to shut …
Browse files Browse the repository at this point in the history
…the linter up
  • Loading branch information
aldavigdis committed Mar 22, 2024
1 parent e22eeac commit fa11711
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 2,437 deletions.
51 changes: 0 additions & 51 deletions src/Model/AttachmentModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,141 +11,90 @@
*/
class AttachmentModel implements JsonSerializable {
/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var int
*/
protected int $ID;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var string
*/
protected string $Name;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var int
*/
protected int $Size;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var string
*/
protected string $Linked;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var string
*/
protected string $MD5Hash;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var bool
*/
protected bool $ShowOnWeb;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getID(): int {
return $this->ID;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setID( int $ID ): AttachmentModel {
$this->ID = $ID;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getName(): string {
return $this->Name;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setName( string $Name ): AttachmentModel {
$this->Name = $Name;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getSize(): int {
return $this->Size;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setSize( int $Size ): AttachmentModel {
$this->Size = $Size;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getLinked(): string {
return $this->Linked;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setLinked( string $Linked ): AttachmentModel {
$this->Linked = $Linked;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getMD5Hash(): string {
return $this->MD5Hash;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setMD5Hash( string $MD5Hash ): AttachmentModel {
$this->MD5Hash = $MD5Hash;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function isShowOnWeb(): bool {
return $this->ShowOnWeb;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setShowOnWeb( bool $ShowOnWeb ): AttachmentModel {
$this->ShowOnWeb = $ShowOnWeb;
return $this;
}


/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function jsonSerialize(): string {
return json_encode( get_object_vars( $this ) );
}
Expand Down
27 changes: 0 additions & 27 deletions src/Model/ChangesModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,75 +11,48 @@
*/
class ChangesModel implements JsonSerializable {
/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var string
*/
protected string $Modified;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var string
*/
protected string $By;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*
* @var array
*/
protected array $Fields;

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getModified(): string {
return $this->Modified;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setModified( string $Modified ): ChangesModel {
$this->Modified = $Modified;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getBy(): string {
return $this->By;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setBy( string $By ): ChangesModel {
$this->By = $By;
return $this;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function getFields(): array {
return $this->Fields;
}

/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function setFields( array $Fields ): ChangesModel {
$this->Fields = $Fields;
return $this;
}


/**
* Short description (CS requirement, unnecessary for DTO Class)
*/
public function jsonSerialize(): string {
return json_encode( get_object_vars( $this ) );
}
Expand Down
Loading

0 comments on commit fa11711

Please sign in to comment.