Browse files

[#3352] Import ReflectionMethod

  • Loading branch information...
1 parent a680c30 commit 7a87702f4fb46d519723f07ce3433bc645d24efa @weierophinney weierophinney committed Jan 14, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 library/Zend/Stdlib/Hydrator/ClassMethods.php
View
3 library/Zend/Stdlib/Hydrator/ClassMethods.php
@@ -10,6 +10,7 @@
namespace Zend\Stdlib\Hydrator;
+use ReflectionMethod;
use Zend\Stdlib\Exception;
/**
@@ -64,7 +65,7 @@ public function extract($object)
continue;
}
- $reflectionMethod = new \ReflectionMethod(get_class($object) . '::' . $method);
+ $reflectionMethod = new ReflectionMethod(get_class($object) . '::' . $method);
if ($reflectionMethod->getNumberOfParameters() > 0) {
continue;
}

0 comments on commit 7a87702

Please sign in to comment.