Skip to content

Commit

Permalink
Apply fixes from StyleCI (#502)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
lesstif and StyleCIBot authored Feb 12, 2023
1 parent 82445a6 commit 0a779c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Issue/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function setReleased($released): static
return $this;
}

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

Expand All @@ -98,7 +98,7 @@ public function setUserReleaseDateAsDateTime($userReleaseDate): static
return $this;
}

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/Version/VersionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function get(string $id)
*
* @return Version
*/
public function update(Version $version) : Version
public function update(Version $version): Version
{
if (!$version->id || !is_numeric($version->id)) {
throw new JiraException($version->id.' is not a valid version id.');
Expand Down

0 comments on commit 0a779c1

Please sign in to comment.