Skip to content

Commit eeefa57

Browse files
author
Tyler King
committed
Move final flag to constructor on ResponseAccess.
1 parent 8688324 commit eeefa57

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 10.0.3
4+
5+
* Moved `final` flag to the constructor
6+
37
## 10.0.2
48

59
* Added `final` flag to `ResponseAccess` class

src/ResponseAccess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Response data object for accessing.
1212
*/
13-
final class ResponseAccess implements ArrayAccess, Iterator, Countable, JsonSerializable
13+
class ResponseAccess implements ArrayAccess, Iterator, Countable, JsonSerializable
1414
{
1515
/**
1616
* The response data.
@@ -33,7 +33,7 @@ final class ResponseAccess implements ArrayAccess, Iterator, Countable, JsonSeri
3333
*
3434
* @return self
3535
*/
36-
public function __construct($data)
36+
final public function __construct($data)
3737
{
3838
$this->container = $data;
3939
}

0 commit comments

Comments
 (0)