فهرست منبع

[Form] Fixing wrong variable name

Ryan Weaver 14 سال پیش
والد
کامیت
0681e443d5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Symfony/Component/Form/AbstractExtension.php

+ 1 - 1
src/Symfony/Component/Form/AbstractExtension.php

@@ -99,7 +99,7 @@ abstract class AbstractExtension implements FormExtensionInterface
         $guesser = $this->loadTypeGuesser();
 
         if (!$guesser instanceof FormTypeGuesserInterface) {
-            throw new UnexpectedTypeException($type, 'Symfony\Component\Form\FormTypeGuesserInterface');
+            throw new UnexpectedTypeException($guesser, 'Symfony\Component\Form\FormTypeGuesserInterface');
         }
 
         $this->guesser = $guesser;