Explorar el Código

fixes concatenation (closes schmittjoh/JMSSerializerBundle#225)

Johannes hace 12 años
padre
commit
d26a889147
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/JMS/Serializer/GraphNavigator.php

+ 1 - 1
src/JMS/Serializer/GraphNavigator.php

@@ -143,7 +143,7 @@ final class GraphNavigator
             case 'resource':
                 $msg = 'Resources are not supported in serialized data.';
                 if (null !== $path = $this->getCurrentPath()) {
-                    $msg .= ' Path: '.implode(' -> ', $path);
+                    $msg .= ' Path: '.$path;
                 }
 
                 throw new \RuntimeException($msg);