Skip to content

Commit

Permalink
Merge pull request #14 from engineor/fix/di-container-not-psr
Browse files Browse the repository at this point in the history
Replace PSR container interface with DI Container
  • Loading branch information
mnapoli authored May 16, 2017
2 parents 328f3c1 + 93d384f commit a0357dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/DI/Bridge/ZendFramework1/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace DI\Bridge\ZendFramework1;

use Interop\Container\ContainerInterface;
use DI\Container;
use Exception;
use Zend_Controller_Action;
use Zend_Controller_Action_Interface;
Expand All @@ -28,7 +28,7 @@
class Dispatcher extends Zend_Controller_Dispatcher_Standard
{
/**
* @var ContainerInterface
* @var Container
*/
private $container;

Expand Down Expand Up @@ -133,17 +133,17 @@ public function dispatch(Zend_Controller_Request_Abstract $request, Zend_Control
}

/**
* @return ContainerInterface
* @return Container
*/
public function getContainer()
{
return $this->container;
}

/**
* @param ContainerInterface $container
* @param Container $container
*/
public function setContainer(ContainerInterface $container)
public function setContainer(Container $container)
{
$this->container = $container;
}
Expand Down

0 comments on commit a0357dc

Please sign in to comment.