Merge remote branch 'lsmith77/get_set_normalizer_typo_fix'

* lsmith77/get_set_normalizer_typo_fix:
  typo fix
This commit is contained in:
Fabien Potencier 2011-05-09 08:51:57 +02:00
commit a756553dd5

View File

@ -131,7 +131,7 @@ class GetSetMethodNormalizer extends AbstractNormalizer
*/
private function supports($class)
{
$class = new \ReflectionClass($type);
$class = new \ReflectionClass($class);
$methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
foreach ($methods as $method) {
if ($this->isGetMethod($method)) {