Skip to content

Commit

Permalink
Fix Task setCid and setCtype methods (pimcore#17660)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhgtlc authored Oct 4, 2024
1 parent 84d9f9f commit 51752cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/Schedule/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function setId(int $id): static
/**
* @return $this
*/
public function setCid(int $cid): static
public function setCid(?int $cid): static
{
$this->cid = $cid;

Expand All @@ -132,7 +132,7 @@ public function setCid(int $cid): static
/**
* @return $this
*/
public function setCtype(string $ctype): static
public function setCtype(?string $ctype): static
{
$this->ctype = $ctype;

Expand Down

0 comments on commit 51752cb

Please sign in to comment.