Skip to content

Commit

Permalink
feat: publish v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Jan 30, 2023
1 parent 49dfd01 commit 5ddd1e0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class App implements EventDispatcherAware
/**
* Tuppence Version.
*/
const VERSION = '2.0.0';
const VERSION = '2.0.1';

use EventDispatcherAwareBehavior;

Expand All @@ -49,9 +49,7 @@ public function __construct(
{
if (is_null($container)) {
$this->setContainer(new Container());
$this->container->delegate(
new ReflectionContainer()
);
$this->container->delegate(new ReflectionContainer());
} else {
$this->container = $container;
}
Expand Down Expand Up @@ -85,9 +83,7 @@ public function setContainer(DefinitionContainerInterface $container): void
{
$this->container = $container;
$this->container->addShared(self::class, $this);

$this->getContainer()->addShared('response', Response::class);

$this->container->addShared('response', Response::class);
$this->router = null;
}

Expand Down

0 comments on commit 5ddd1e0

Please # to comment.