Explorar o código

removes unnecessary implode

Johannes %!s(int64=12) %!d(string=hai) anos
pai
achega
9aa006b2f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Serializer/GraphNavigator.php

+ 1 - 1
Serializer/GraphNavigator.php

@@ -137,7 +137,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);