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

Commit 01ee204

Browse files
committed
Update the fixer of an issue
1 parent 8a2ab21 commit 01ee204

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Issue.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,27 @@ public function updateTester(
228228

229229
return $this->update('tester', $data, $comment, $attachments);
230230
}
231+
232+
/**
233+
* Update the fixer of this issue
234+
*
235+
* @param int $newFixer
236+
* @param string|null $comment
237+
* @param array $attachments
238+
*
239+
* @return array
240+
*/
241+
public function updateFixer(
242+
$newFixer,
243+
$comment = null,
244+
$attachments = []
245+
) {
246+
$data = [
247+
'new_fixer_id' => $newFixer,
248+
];
249+
250+
return $this->update('fixer', $data, $comment, $attachments);
251+
}
231252

232253
/**
233254
* @param array $data

0 commit comments

Comments
 (0)