Pārlūkot izejas kodu

removes unnecessary implode

Johannes 12 gadi atpakaļ
vecāks
revīzija
9aa006b2f5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);