Skip to content

Commit

Permalink
Add default value if description isn't defined
Browse files Browse the repository at this point in the history
  • Loading branch information
carnage committed Dec 20, 2017
1 parent 3a16fd6 commit 217588f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/ValueObject/TicketType.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class TicketType
* @Jms\Type("string")
* @ORM\Column(type="string")
*/
private $description;
private $description = '';

/**
* @var boolean
Expand Down

0 comments on commit 217588f

Please sign in to comment.