Account id

This may need to be removed
This commit is contained in:
Dennis Eichhorn 2016-07-22 15:28:48 +02:00
parent e63f175b2c
commit 500bf7fb18

View File

@ -155,7 +155,7 @@ class Account implements ArrayableInterface, \JsonSerializable
* @since 1.0.0 * @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com> * @author Dennis Eichhorn <d.eichhorn@oms.com>
*/ */
public function __construct(int $id) public function __construct(int $id = 0)
{ {
$this->createdAt = new \DateTime('now'); $this->createdAt = new \DateTime('now');
$this->id = $id; $this->id = $id;