Skip to content

Commit 47609a4

Browse files
committed
RpcNamespaceIssue: append Request, use string
1 parent 36f0ae4 commit 47609a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/Eventtracker/Daemon/RpcNamespace/RpcNamespaceIssue.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@ protected function close(UuidInterface $uuid, $reason, $closedBy = null): bool
100100
* @param string $ticketReference
101101
* @return bool
102102
*/
103-
protected function acknowledge(UuidInterface $uuid, string $owner, ?string $ticketReference = null): bool
103+
public function acknowledgeRequest(string $issueUuid, string $owner, ?string $ticketReference = null): bool
104104
{
105105
if ($this->db === null) {
106106
throw new RuntimeException('Cannot close the given issue, I have no DB connection');
107107
}
108+
$uuid = Uuid::fromString($issueUuid);
108109
$db = $this->db;
109110
$issue = Issue::load($uuid->getBytes(), $db);
110111
$issue->set('status', 'acknowledged');

0 commit comments

Comments
 (0)