Skip to content

Commit

Permalink
Revert "Fix AbstractElement"
Browse files Browse the repository at this point in the history
This reverts commit b6f8556.
  • Loading branch information
blankse committed May 7, 2024
1 parent b6f8556 commit 1c26f9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions models/Element/AbstractElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function getUserModification(): ?int
return $this->userModification;
}

public function setUserModification(?int $userModification): static
public function setUserModification(int $userModification): static
{
$this->markFieldDirty('userModification');
$this->userModification = $userModification;
Expand All @@ -145,7 +145,7 @@ public function getCreationDate(): ?int
return $this->creationDate;
}

public function setCreationDate(?int $creationDate): static
public function setCreationDate(int $creationDate): static
{
$this->creationDate = $creationDate;

Expand All @@ -157,7 +157,7 @@ public function getModificationDate(): ?int
return $this->modificationDate;
}

public function setModificationDate(?int $modificationDate): static
public function setModificationDate(int $modificationDate): static
{
if($this->modificationDate != $modificationDate) {
$this->markFieldDirty('modificationDate');
Expand All @@ -172,7 +172,7 @@ public function getUserOwner(): ?int
return $this->userOwner;
}

public function setUserOwner(?int $userOwner): static
public function setUserOwner(int $userOwner): static
{
$this->userOwner = $userOwner;

Expand Down

0 comments on commit 1c26f9e

Please sign in to comment.