Skip to content

Commit d96be01

Browse files
Merge branch '3.6' into 4.2
2 parents d38f4d1 + 5b547cd commit d96be01

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"authors": [
77
{
88
"name": "Graham Campbell",
9-
"email": "[email protected]"
9+
"email": "[email protected]",
10+
"homepage": "https://github.com/GrahamCampbell"
1011
},
1112
{
1213
"name": "Vance Lucas",
13-
"email": "[email protected]"
14+
"email": "[email protected]",
15+
"homepage": "https://github.com/vlucas"
1416
}
1517
],
1618
"require": {

src/Repository/AbstractRepository.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Dotenv\Repository\Adapter\ArrayAdapter;
66
use InvalidArgumentException;
7+
use ReturnTypeWillChange;
78

89
abstract class AbstractRepository implements RepositoryInterface
910
{
@@ -144,6 +145,7 @@ public function has($name)
144145
/**
145146
* {@inheritdoc}
146147
*/
148+
#[ReturnTypeWillChange]
147149
public function offsetExists($offset)
148150
{
149151
return $this->has($offset);
@@ -152,6 +154,7 @@ public function offsetExists($offset)
152154
/**
153155
* {@inheritdoc}
154156
*/
157+
#[ReturnTypeWillChange]
155158
public function offsetGet($offset)
156159
{
157160
return $this->get($offset);
@@ -160,6 +163,7 @@ public function offsetGet($offset)
160163
/**
161164
* {@inheritdoc}
162165
*/
166+
#[ReturnTypeWillChange]
163167
public function offsetSet($offset, $value)
164168
{
165169
$this->set($offset, $value);
@@ -168,6 +172,7 @@ public function offsetSet($offset, $value)
168172
/**
169173
* {@inheritdoc}
170174
*/
175+
#[ReturnTypeWillChange]
171176
public function offsetUnset($offset)
172177
{
173178
$this->clear($offset);

0 commit comments

Comments
 (0)