Skip to content
Browse files

fix for property injection

  • Loading branch information...
1 parent 4b0466f commit 5b18e2238972990a70c0a0b47386995ef4bd8222 @rodnaph rodnaph committed Nov 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/BoxUK/Inject/Standard.class.php
View
2 lib/BoxUK/Inject/Standard.class.php
@@ -321,7 +321,7 @@ protected function injectProperties( $class ) {
$properties = $this->reflector->getProperties( $className );
foreach ( $properties as $propertyName ) {
- if ( $this->reflector->propertyHasAnnotation($class,$propertyName,self::INJECT_PROPERTY) ) {
+ if ( $this->reflector->propertyHasAnnotation($className,$propertyName,self::INJECT_PROPERTY) ) {
$this->injectProperty( $class, $propertyName );
}
}

0 comments on commit 5b18e22

Please sign in to comment.
Something went wrong with that request. Please try again.