Skip to content

Commit

Permalink
bug #4079 Fixed typo in filesystem component (kohkimakimoto)
Browse files Browse the repository at this point in the history
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 7d39b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d39b03

Please sign in to comment.