1
0
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:
Florent
2013-07-08 09:28:57 +02:00
parent 6cedf6656c
commit ff0159e21c
2 changed files with 4 additions and 3 deletions
DataMapper
Tests/DataMapper

@@ -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;