Skip to content

Commit 0a779c1

Browse files
lesstifStyleCIBot
andauthored
Apply fixes from StyleCI (#502)
[ci skip] [skip ci] Co-authored-by: StyleCI Bot <[email protected]>
1 parent 82445a6 commit 0a779c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Issue/Version.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function setReleased($released): static
7777
return $this;
7878
}
7979

80-
public function setReleaseDateAsDateTime(DateTimeInterface $releaseDate, string $format='Y-m-d'): static
80+
public function setReleaseDateAsDateTime(DateTimeInterface $releaseDate, string $format = 'Y-m-d'): static
8181
{
8282
$this->releaseDate = $releaseDate->format($format);
8383

@@ -98,7 +98,7 @@ public function setUserReleaseDateAsDateTime($userReleaseDate): static
9898
return $this;
9999
}
100100

101-
public function setStartDateAsDateTime(\DateTimeInterface $startDate, string $format='Y-m-d'): static
101+
public function setStartDateAsDateTime(\DateTimeInterface $startDate, string $format = 'Y-m-d'): static
102102
{
103103
$this->startDate = $startDate->format($format);
104104

@@ -112,7 +112,7 @@ public function setStartDateAsString(?string $startDate): static
112112
return $this;
113113
}
114114

115-
public function setUserStartDateAsDateTime(\DateTimeInterface $userStartDate, string $format='Y-m-d'): static
115+
public function setUserStartDateAsDateTime(\DateTimeInterface $userStartDate, string $format = 'Y-m-d'): static
116116
{
117117
$this->userStartDate = $userStartDate->format($format);
118118

src/Version/VersionService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function get(string $id)
8484
*
8585
* @return Version
8686
*/
87-
public function update(Version $version) : Version
87+
public function update(Version $version): Version
8888
{
8989
if (!$version->id || !is_numeric($version->id)) {
9090
throw new JiraException($version->id.' is not a valid version id.');

0 commit comments

Comments
 (0)