Skip to content

Commit 7c66580

Browse files
authored
Merge pull request #14 from lesstif/analysis-djYBM7
Apply fixes from StyleCI
2 parents c8dcd8d + 92eb038 commit 7c66580

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
@@ -353,12 +353,14 @@ public function deleteComment($issueIdOrKey, $id): string|bool
353353
/**
354354
* Change issue assignee for REST API V3.
355355
*
356-
* @param string|int $issueIdOrKey
357-
* @param string|null $accountId assignee Account Id
358-
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
359-
* <li>null, the issue is set to unassigned.</li>
360-
* @return string
356+
* @param string|int $issueIdOrKey
357+
* @param string|null $accountId assignee Account Id
358+
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
359+
* <li>null, the issue is set to unassigned.</li>
360+
*
361361
* @throws JiraException
362+
*
363+
* @return string
362364
*/
363365
public function changeAssigneeByAccountId(string|int $issueIdOrKey, ?string $accountId): string
364366
{
@@ -582,7 +584,7 @@ public function timeTracking(string|int $issueIdOrKey, TimeTracking $timeTrackin
582584
* get getWorklog.
583585
*
584586
* @param string|int $issueIdOrKey
585-
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
587+
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
586588
*
587589
* @throws \JsonMapper_Exception
588590
* @throws JiraException
@@ -605,7 +607,7 @@ public function getWorklog(string|int $issueIdOrKey, array $paramArray = []): Pa
605607
* get getWorklog by Id.
606608
*
607609
* @param string|int $issueIdOrKey
608-
* @param int $workLogId
610+
* @param int $workLogId
609611
*
610612
* @throws \JsonMapper_Exception
611613
* @throws JiraException
@@ -683,7 +685,7 @@ public function editWorklog(string|int $issueIdOrKey, Worklog $worklog, int $wor
683685
* delete worklog.
684686
*
685687
* @param string|int $issueIdOrKey
686-
* @param int $worklogId
688+
* @param int $worklogId
687689
*
688690
* @throws JiraException
689691
*
@@ -794,7 +796,7 @@ public function getWatchers(string|int $issueIdOrKey): ArrayObject
794796
* add watcher to issue.
795797
*
796798
* @param string|int $issueIdOrKey
797-
* @param string $watcher watcher id
799+
* @param string $watcher watcher id
798800
*
799801
* @throws JiraException
800802
*
@@ -817,7 +819,7 @@ public function addWatcher(string|int $issueIdOrKey, string $watcher): bool
817819
* remove watcher from issue.
818820
*
819821
* @param string|int $issueIdOrKey
820-
* @param string $watcher watcher id
822+
* @param string $watcher watcher id
821823
*
822824
* @throws JiraException
823825
*
@@ -838,7 +840,7 @@ public function removeWatcher(string|int $issueIdOrKey, string $watcher): bool
838840
* remove watcher from issue by watcher account id.
839841
*
840842
* @param string|int $issueIdOrKey
841-
* @param string $accountId Watcher account id.
843+
* @param string $accountId Watcher account id.
842844
*
843845
* @throws JiraException
844846
*
@@ -918,7 +920,7 @@ public function getEditMeta(string $idOrKey, bool $overrideEditableFlag = false,
918920
* Sends a notification (email) to the list or recipients defined in the request.
919921
*
920922
* @param string|int $issueIdOrKey Issue id Or Key
921-
* @param Notify $notify
923+
* @param Notify $notify
922924
*
923925
* @throws JiraException
924926
*
@@ -1003,7 +1005,7 @@ public function createOrUpdateRemoteIssueLink(string|int $issueIdOrKey, RemoteIs
10031005

10041006
/**
10051007
* @param string|int $issueIdOrKey
1006-
* @param string $globalId
1008+
* @param string $globalId
10071009
*
10081010
* @throws JiraException
10091011
*
@@ -1085,9 +1087,9 @@ public function getIssueSecuritySchemes(string $securityId): SecurityScheme
10851087
* convenient wrapper function for add or remove labels.
10861088
*
10871089
* @param string|int $issueIdOrKey
1088-
* @param array $addLablesParam
1089-
* @param array $removeLabelsParam
1090-
* @param bool $notifyUsers
1090+
* @param array $addLablesParam
1091+
* @param array $removeLabelsParam
1092+
* @param bool $notifyUsers
10911093
*
10921094
* @throws JiraException
10931095
*
@@ -1130,9 +1132,9 @@ public function updateLabels(string|int $issueIdOrKey, array $addLablesParam = [
11301132
* convenient wrapper function for add or remove fix versions.
11311133
*
11321134
* @param string|int $issueIdOrKey
1133-
* @param array $addFixVersionsParam
1134-
* @param array $removeFixVersionsParam
1135-
* @param bool $notifyUsers
1135+
* @param array $addFixVersionsParam
1136+
* @param array $removeFixVersionsParam
1137+
* @param bool $notifyUsers
11361138
*
11371139
* @throws JiraException
11381140
*
@@ -1172,7 +1174,7 @@ public function updateFixVersions(string|int $issueIdOrKey, array $addFixVersion
11721174
* find transition id by transition's untranslatedName.
11731175
*
11741176
* @param string|int $issueIdOrKey
1175-
* @param string $untranslatedName
1177+
* @param string $untranslatedName
11761178
*
11771179
* @throws JiraException
11781180
*

0 commit comments

Comments
 (0)