Skip to content

Commit

Permalink
Merge pull request #13 from null9beta/master
Browse files Browse the repository at this point in the history
add removeDueDate to Card Model
  • Loading branch information
cdaguerre committed Jun 16, 2015
2 parents 07ac500 + da290fc commit b1205d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Trello/Model/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getPosition()
/**
* {@inheritdoc}
*/
public function setDueDate(\DateTime $due)
public function setDueDate(\DateTime $due = null)
{
$this->data['due'] = $due;

Expand Down
2 changes: 1 addition & 1 deletion lib/Trello/Model/CardInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getPosition();
*
* @return CardInterface
*/
public function setDueDate(\DateTime $due);
public function setDueDate(\DateTime $due = null);

/**
* Get due date
Expand Down

0 comments on commit b1205d9

Please sign in to comment.