Permalink
Browse files

Removed old unused code

  • Loading branch information...
1 parent a309b2d commit 88d78803246b34b26dbd0032e92660d4cee2b224 @alganet alganet committed Feb 8, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 library/Respect/Config/Container.php
  2. +1 −2 library/Respect/Config/Instantiator.php
View
2 library/Respect/Config/Container.php
@@ -100,7 +100,7 @@ protected function parseInstantiator($key, $value)
{
$key = $this->removeDuplicatedSpaces($key);
list($keyName, $keyClass) = explode(' ', $key);
- $instantiator = new Instantiator($keyClass, $this);
+ $instantiator = new Instantiator($keyClass);
if (is_array($value))
foreach ($value as $property => $pValue)
View
3 library/Respect/Config/Instantiator.php
@@ -16,9 +16,8 @@ class Instantiator
protected $methodCalls = array();
protected $propertySetters = array();
- public function __construct($className, Container $container = null)
+ public function __construct($className)
{
- $this->container = $container;
$this->reflection = new ReflectionClass($className);
$this->constructor = $this->findConstructorParams($this->reflection);
$this->className = $className;

0 comments on commit 88d7880

Please sign in to comment.