Преглед на файлове

Merge remote branch 'lsmith77/get_set_normalizer_typo_fix'

* lsmith77/get_set_normalizer_typo_fix:
  typo fix
Fabien Potencier преди 14 години
родител
ревизия
a756553dd5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php

+ 1 - 1
src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php

@@ -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)) {