Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
[zendframework/zendframework#3352] Import ReflectionMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jan 14, 2013
1 parent 6865704 commit a385e2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Hydrator/ClassMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace Zend\Stdlib\Hydrator;

use ReflectionMethod;
use Zend\Stdlib\Exception;

/**
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit a385e2a

Please sign in to comment.