Skip to content

Commit

Permalink
Fix return type declaration to correct one
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Apr 18, 2022
1 parent a0d6e0a commit 38bf934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _protected/app/system/core/classes/BirthdayCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function sendMails(): int
*
* @throws Exception
*/
private function sendMail(stdClass $oUser, Mailable $oMailEngine): int
private function sendMail(stdClass $oUser, Mailable $oMailEngine): bool
{
$this->view->content = t('Hi %0%!', $oUser->firstName) . '<br />' .
t('We wish you a very Happy Birthday!') . '<br />' .
Expand Down
6 changes: 2 additions & 4 deletions _protected/app/system/core/classes/RegistrationCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ abstract class RegistrationCore
/**
* @internal Set protected visibility because this attribute is used in child classes.
*/
/** @var int */
protected $iActiveType;
protected int $iActiveType;

/** @var Templatable */
protected $oView;
protected Templatable $oView;

public function __construct(Templatable $oView)
{
Expand Down

0 comments on commit 38bf934

Please sign in to comment.