Skip to content

Commit

Permalink
Fix User::setLastLogin function declaration #3342
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Jun 30, 2020
1 parent 7ae1547 commit fc5c7ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Chamilo/UserBundle/Entity/User.php
Expand Up @@ -1435,9 +1435,11 @@ public function setSlug($slug)
/**
* Set lastLogin.
*
* @param \DateTime|null $lastLogin
*
* @return User
*/
public function setLastLogin(\DateTime $lastLogin)
public function setLastLogin(\DateTime $lastLogin = null)
{
$this->lastLogin = $lastLogin;

Expand Down

0 comments on commit fc5c7ad

Please sign in to comment.