Commit 671648e2 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): lint

1 merge request!463Allow users to permanently hide "share" buttons in settings
Pipeline #116939984 passed with stages
in 8 minutes and 19 seconds
......@@ -676,6 +676,14 @@ class User extends \ElggUser
return ((int) $this->email_confirmed_at) ?: null;
}
/**
* @return bool
*/
public function isEmailConfirmed(): bool
{
return (bool) $this->email_confirmed_at;
}
/**
* @return bool
*/
......@@ -688,19 +696,12 @@ class User extends \ElggUser
* @param bool $value
* @return User
*/
public function setHideShareButtons(bool $value): User {
public function setHideShareButtons(bool $value): User
{
$this->hide_share_buttons = $value;
return $this;
}
/**
* @return bool
*/
public function isEmailConfirmed(): bool
{
return (bool) $this->email_confirmed_at;
}
/**
* Subscribes user to another user.
*
......
Please register or to comment