diff --git a/.travis.yml b/.travis.yml index 77a28fa..7d8e1d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ cache: - $HOME/.composer/cache php: - - 8.0.8 + - 8.0.3 - nightly jobs: diff --git a/DIContainer.php b/DIContainer.php index 0c06b9e..89323de 100644 --- a/DIContainer.php +++ b/DIContainer.php @@ -272,6 +272,7 @@ private function mapDeferred(string $dependency, string $class): void } if (false === empty($class)) { $this->bindings[$interface] = $class; + continue; } $this->bindings[$dependency] = $this->bindings[$interface]; break; diff --git a/VERSION b/VERSION index e3a4f19..cc6612c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.0 \ No newline at end of file +2.3.0 \ No newline at end of file diff --git a/composer.json b/composer.json index f015291..6d17381 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.x-dev" } }, "config": {