Skip to content

Commit 257821a

Browse files
authored
Merge pull request #1 from ibuildingsnl/feature/fix_new_jira_version
Fix ["JSON property \"expand\" in class \"JiraRestApi\\Issue\\IssueSe…
2 parents a6a96c0 + efb2951 commit 257821a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Issue/IssueSearchResult.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class IssueSearchResult
1717
/**
1818
* @var string
1919
*/
20-
public $expand;
20+
public ?string $expand = null;
2121

2222
/**
2323
* @var int
@@ -114,17 +114,14 @@ public function getIssue($ndx)
114114
}
115115

116116
/**
117-
* @return string
117+
* @return ?string
118118
*/
119119
public function getExpand()
120120
{
121121
return $this->expand;
122122
}
123123

124-
/**
125-
* @param string $expand
126-
*/
127-
public function setExpand($expand)
124+
public function setExpand(?string $expand)
128125
{
129126
$this->expand = $expand;
130127
}

0 commit comments

Comments
 (0)