Skip to content

Commit 6eb2244

Browse files
lesstifStyleCIBot
andauthored
Apply fixes from StyleCI (#56)
Co-authored-by: StyleCI Bot <[email protected]>
1 parent f5b66f0 commit 6eb2244

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

src/Issue/RemoteIssueLink.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public function jsonSerialize()
2222
return array_filter(get_object_vars($this));
2323
}
2424

25-
function __construct() {
25+
public function __construct()
26+
{
2627
$this->object = new RemoteObject();
2728
}
2829

src/IssueLink/IssueLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function setInwardIssueByKey(string $issueKey): static
5050
if ($this->inwardIssue === null) {
5151
$this->inwardIssue = new LinkedIssue();
5252
}
53-
$this->inwardIssue->key= $issueKey;
53+
$this->inwardIssue->key = $issueKey;
5454

5555
return $this;
5656
}

src/IssueLink/IssueLinkService.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ public function getIssueLinkTypes(): ArrayObject
5757

5858
/**
5959
* @param string $linkId
60-
* @return IssueLink
60+
*
6161
* @throws \JiraCloud\JiraException
6262
* @throws \JsonMapper_Exception
63+
*
64+
* @return IssueLink
6365
*/
6466
public function getIssueLink(string $linkId): IssueLink
6567
{
@@ -75,7 +77,7 @@ public function getIssueLink(string $linkId): IssueLink
7577
);
7678
}
7779

78-
public function deleteIssueLink(string $linkId) : bool
80+
public function deleteIssueLink(string $linkId): bool
7981
{
8082
$this->log->info("deleteIssueLink=\n");
8183

@@ -85,5 +87,4 @@ public function deleteIssueLink(string $linkId) : bool
8587

8688
return $ret;
8789
}
88-
8990
}

src/IssueLink/LinkedIssue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ public function jsonSerialize()
1616
{
1717
return array_filter(get_object_vars($this));
1818
}
19-
}
19+
}

0 commit comments

Comments
 (0)