Permalink
Browse files

bug #4079 Fixed typo in filesystem component (kohkimakimoto)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixed typo in filesystem component

The `makePathRelative` method returns a path with a slash at end.
See this [test case](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Filesystem/Tests/FilesystemTest.php#L793).

Commits
-------

82d2903 Fixed typo in filesystem component
  • Loading branch information...
weaverryan committed Aug 4, 2014
2 parents f0bde03 + 82d2903 commit 7d39b03b09d60ebb0d400f080079e6d2a2d55bdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/filesystem.rst
@@ -207,7 +207,7 @@ the relative path of a directory given another one::
'/var/lib/symfony/src/Symfony/',
'/var/lib/symfony/src/Symfony/Component'
);
// returns 'videos'
// returns 'videos/'
$fs->makePathRelative('/tmp/videos', '/tmp')
mirror

0 comments on commit 7d39b03

Please sign in to comment.