Ver código fonte

[DoctrineBridge] Fixed typo

Deni 14 anos atrás
pai
commit
1a75b7c8ca

+ 1 - 1
src/Symfony/Bridge/Doctrine/Form/DataTransformer/EntitiesToArrayTransformer.php

@@ -41,7 +41,7 @@ class EntitiesToArrayTransformer implements DataTransformerInterface
         }
 
         if (!($collection instanceof Collection)) {
-            throw new UnexpectedTypeException($collection, 'Doctrine\Common\Collection\Collection');
+            throw new UnexpectedTypeException($collection, 'Doctrine\Common\Collections\Collection');
         }
 
         $array = array();