Sfoglia il codice sorgente

fixes concatenation (closes schmittjoh/JMSSerializerBundle#225)

Johannes 12 anni fa
parent
commit
d26a889147
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);