Skip to content

Commit

Permalink
removes unnecessary implode
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoh committed Nov 14, 2012
1 parent 668a226 commit 9aa006b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serializer/GraphNavigator.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function accept($data, array $type = null, VisitorInterface $visitor)
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);
Expand Down

0 comments on commit 9aa006b

Please sign in to comment.