Skip to content

Commit

Permalink
Added withNote method into RecordBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk committed Oct 12, 2022
1 parent 5bbefd4 commit e12ac4f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/RecordBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ public function withMessage(string $message): static
}


public function withNote(?string $note): static
{
$this->record['note'] = $note;
return $this;
}


public function withEvent(?string $event): static
{
$this->record['event'] = $event;
Expand Down

0 comments on commit e12ac4f

Please sign in to comment.