Skip to content

Commit 5902e42

Browse files
committed
Merge branch 'pr/101' into develop
2 parents 552186d + 5e5513f commit 5902e42

File tree

2 files changed

+2
-39
lines changed

2 files changed

+2
-39
lines changed

src/Issue/IssueService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ public function getCustomFields($priorityId)
621621
*
622622
* @param $issueIdOrKey
623623
*
624-
* @return Watcher[]
624+
* @return Reporter[]
625625
*/
626626
public function getWatchers($issueIdOrKey)
627627
{
@@ -632,7 +632,7 @@ public function getWatchers($issueIdOrKey)
632632
$ret = $this->exec($url, null);
633633

634634
$watchers = $this->json_mapper->mapArray(
635-
json_decode($ret, false)->watchers, new \ArrayObject(), '\JiraRestApi\Issue\Watcher'
635+
json_decode($ret, false)->watchers, new \ArrayObject(), '\JiraRestApi\Issue\Reporter'
636636
);
637637

638638
return $watchers;

src/Issue/Watcher.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)