diff --git a/composer.json b/composer.json index 901507bc..a30f9c04 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/Repository/AbstractRepository.php b/src/Repository/AbstractRepository.php index 247f9507..57c7b432 100644 --- a/src/Repository/AbstractRepository.php +++ b/src/Repository/AbstractRepository.php @@ -4,6 +4,7 @@ use Dotenv\Repository\Adapter\ArrayAdapter; use InvalidArgumentException; +use ReturnTypeWillChange; abstract class AbstractRepository implements RepositoryInterface { @@ -144,6 +145,7 @@ public function has($name) /** * {@inheritdoc} */ + #[ReturnTypeWillChange] public function offsetExists($offset) { return $this->has($offset); @@ -152,6 +154,7 @@ public function offsetExists($offset) /** * {@inheritdoc} */ + #[ReturnTypeWillChange] public function offsetGet($offset) { return $this->get($offset); @@ -160,6 +163,7 @@ public function offsetGet($offset) /** * {@inheritdoc} */ + #[ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->set($offset, $value); @@ -168,6 +172,7 @@ public function offsetSet($offset, $value) /** * {@inheritdoc} */ + #[ReturnTypeWillChange] public function offsetUnset($offset) { $this->clear($offset);