Skip to content

Commit 75c5fdf

Browse files
Fix deprecation Creation of dynamic property JiraCloud\Issue\IssueSearchResult::$isLast is deprecated (#109)
Co-authored-by: KwangSeob Jeong <[email protected]>
1 parent 7e3e7a3 commit 75c5fdf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/Issue/IssueSearchResult.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ class IssueSearchResult
1212
use DynamicPropertiesTrait;
1313

1414
/**
15+
* @var bool
16+
*/
17+
public $isLast = false;
18+
19+
/**
20+
* @var string
1521
* @var string|null
1622
*/
1723
public $nextPageToken;
@@ -22,6 +28,23 @@ class IssueSearchResult
2228
public $issues;
2329

2430
/**
31+
* @return bool
32+
*/
33+
public function getIsLast()
34+
{
35+
return $this->isLast;
36+
}
37+
38+
/**
39+
* @param bool $isLast
40+
*/
41+
public function setIsLast($isLast)
42+
{
43+
return $this->isLast;
44+
}
45+
46+
/**
47+
* @return string
2548
* @return string|null
2649
*/
2750
public function getNextPageToken()

0 commit comments

Comments
 (0)