Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 347e7d8

Browse files
committed
Update README attachment examples (for issues and comments)
1 parent 242b5f9 commit 347e7d8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $issue->setTitle('Brand new issue!');
5555
$issue->setPriorityLevel(1);
5656
$issue->setFixer(4321);
5757
$issue->setTester(1234);
58-
$issue->addAttachment('/path/to/some/file.md');
58+
$issue->addAttachment('/path/to/some/file.md'); // Optional
5959

6060
$addedIssue = $project->addIssue($issue);
6161
```
@@ -68,6 +68,7 @@ $issue = $client->project(29881)->issue(16);
6868

6969
$comment = new \Manavo\DoneDone\Comment();
7070
$comment->setMessage('I am commenting!!!');
71+
$comment->addAttachment('/path/to/some/file.md'); // Optional
7172

7273
$addedComment = $issue->addComment($comment);
7374
```

0 commit comments

Comments
 (0)