mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-26 01:31:20 +02:00
test restore with find
This commit is contained in:
@@ -14,7 +14,7 @@ class User
|
||||
protected $username;
|
||||
protected $email;
|
||||
|
||||
public function __construct($id, $username, $email)
|
||||
public function __construct($id = null, $username = null, $email = null)
|
||||
{
|
||||
$this->userId = $id;
|
||||
$this->username = $username;
|
||||
|
Reference in New Issue
Block a user