Skip to content

Commit 5a2517a

Browse files
StyleCIBotlesstif
authored andcommitted
Apply fixes from StyleCI
1 parent a0ffd97 commit 5a2517a

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

src/Issue/IssueService.php

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,14 @@ public function deleteComment($issueIdOrKey, $id): string|bool
354354
/**
355355
* Change issue assignee for REST API V3.
356356
*
357-
* @param string|int $issueIdOrKey
358-
* @param string|null $accountId assignee Account Id
359-
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
360-
* <li>null, the issue is set to unassigned.</li>
361-
* @return string
357+
* @param string|int $issueIdOrKey
358+
* @param string|null $accountId assignee Account Id
359+
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
360+
* <li>null, the issue is set to unassigned.</li>
361+
*
362362
* @throws JiraException
363+
*
364+
* @return string
363365
*/
364366
public function changeAssigneeByAccountId(string|int $issueIdOrKey, ?string $accountId): string
365367
{
@@ -580,7 +582,7 @@ public function timeTracking(string|int $issueIdOrKey, TimeTracking $timeTrackin
580582
* get getWorklog.
581583
*
582584
* @param string|int $issueIdOrKey
583-
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
585+
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
584586
*
585587
* @throws \JsonMapper_Exception
586588
* @throws JiraException
@@ -603,7 +605,7 @@ public function getWorklog(string|int $issueIdOrKey, array $paramArray = []): Pa
603605
* get getWorklog by Id.
604606
*
605607
* @param string|int $issueIdOrKey
606-
* @param int $workLogId
608+
* @param int $workLogId
607609
*
608610
* @throws \JsonMapper_Exception
609611
* @throws JiraException
@@ -681,7 +683,7 @@ public function editWorklog(string|int $issueIdOrKey, Worklog $worklog, int $wor
681683
* delete worklog.
682684
*
683685
* @param string|int $issueIdOrKey
684-
* @param int $worklogId
686+
* @param int $worklogId
685687
*
686688
* @throws JiraException
687689
*
@@ -792,7 +794,7 @@ public function getWatchers(string|int $issueIdOrKey): ArrayObject
792794
* add watcher to issue.
793795
*
794796
* @param string|int $issueIdOrKey
795-
* @param string $watcher watcher id
797+
* @param string $watcher watcher id
796798
*
797799
* @throws JiraException
798800
*
@@ -815,7 +817,7 @@ public function addWatcher(string|int $issueIdOrKey, string $watcher): bool
815817
* remove watcher from issue.
816818
*
817819
* @param string|int $issueIdOrKey
818-
* @param string $watcher watcher id
820+
* @param string $watcher watcher id
819821
*
820822
* @throws JiraException
821823
*
@@ -836,7 +838,7 @@ public function removeWatcher(string|int $issueIdOrKey, string $watcher): bool
836838
* remove watcher from issue by watcher account id.
837839
*
838840
* @param string|int $issueIdOrKey
839-
* @param string $accountId Watcher account id.
841+
* @param string $accountId Watcher account id.
840842
*
841843
* @throws JiraException
842844
*
@@ -916,7 +918,7 @@ public function getEditMeta(string $idOrKey, bool $overrideEditableFlag = false,
916918
* Sends a notification (email) to the list or recipients defined in the request.
917919
*
918920
* @param string|int $issueIdOrKey Issue id Or Key
919-
* @param Notify $notify
921+
* @param Notify $notify
920922
*
921923
* @throws JiraException
922924
*
@@ -1001,7 +1003,7 @@ public function createOrUpdateRemoteIssueLink(string|int $issueIdOrKey, RemoteIs
10011003

10021004
/**
10031005
* @param string|int $issueIdOrKey
1004-
* @param string $globalId
1006+
* @param string $globalId
10051007
*
10061008
* @throws JiraException
10071009
*
@@ -1083,9 +1085,9 @@ public function getIssueSecuritySchemes(string $securityId): SecurityScheme
10831085
* convenient wrapper function for add or remove labels.
10841086
*
10851087
* @param string|int $issueIdOrKey
1086-
* @param array $addLablesParam
1087-
* @param array $removeLabelsParam
1088-
* @param bool $notifyUsers
1088+
* @param array $addLablesParam
1089+
* @param array $removeLabelsParam
1090+
* @param bool $notifyUsers
10891091
*
10901092
* @throws JiraException
10911093
*
@@ -1128,9 +1130,9 @@ public function updateLabels(string|int $issueIdOrKey, array $addLablesParam = [
11281130
* convenient wrapper function for add or remove fix versions.
11291131
*
11301132
* @param string|int $issueIdOrKey
1131-
* @param array $addFixVersionsParam
1132-
* @param array $removeFixVersionsParam
1133-
* @param bool $notifyUsers
1133+
* @param array $addFixVersionsParam
1134+
* @param array $removeFixVersionsParam
1135+
* @param bool $notifyUsers
11341136
*
11351137
* @throws JiraException
11361138
*
@@ -1170,7 +1172,7 @@ public function updateFixVersions(string|int $issueIdOrKey, array $addFixVersion
11701172
* find transition id by transition's untranslatedName.
11711173
*
11721174
* @param string|int $issueIdOrKey
1173-
* @param string $untranslatedName
1175+
* @param string $untranslatedName
11741176
*
11751177
* @throws JiraException
11761178
*

0 commit comments

Comments
 (0)