Skip to content

Commit

Permalink
Merge branch '3.6' into 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 12, 2021
2 parents d38f4d1 + 5b547cd commit d96be01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk"
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com"
"email": "vance@vancelucas.com",
"homepage": "https://github.com/vlucas"
}
],
"require": {
Expand Down
5 changes: 5 additions & 0 deletions src/Repository/AbstractRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Dotenv\Repository\Adapter\ArrayAdapter;
use InvalidArgumentException;
use ReturnTypeWillChange;

abstract class AbstractRepository implements RepositoryInterface
{
Expand Down Expand Up @@ -144,6 +145,7 @@ public function has($name)
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function offsetExists($offset)
{
return $this->has($offset);
Expand All @@ -152,6 +154,7 @@ public function offsetExists($offset)
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function offsetGet($offset)
{
return $this->get($offset);
Expand All @@ -160,6 +163,7 @@ public function offsetGet($offset)
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
$this->set($offset, $value);
Expand All @@ -168,6 +172,7 @@ public function offsetSet($offset, $value)
/**
* {@inheritdoc}
*/
#[ReturnTypeWillChange]
public function offsetUnset($offset)
{
$this->clear($offset);
Expand Down

0 comments on commit d96be01

Please sign in to comment.