Skip to content

Commit

Permalink
[TASK] Ensure correct typed values for getter methods (#945)
Browse files Browse the repository at this point in the history
fixes #944
  • Loading branch information
web-commerce-og committed Jun 7, 2024
1 parent 912aae2 commit 179b37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Domain/Model/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Mail extends AbstractEntity
/**
* @var int
*/
protected $time = null;
protected $time = 0;

/**
* @var Form
Expand Down Expand Up @@ -543,7 +543,7 @@ public function getMarketingPageFunnelLastPage(): int
{
$pageFunnel = $this->getMarketingPageFunnel();
if (count($pageFunnel)) {
return $pageFunnel[count($pageFunnel) - 1];
return (int) $pageFunnel[count($pageFunnel) - 1];
}
return 0;
}
Expand Down

0 comments on commit 179b37f

Please sign in to comment.