Skip to content

Commit c108fe9

Browse files
committed
Merge pull request symfony#2556 from tucksaun/patch-1
Fixed wrong makePathRelative example in Filesystem component
2 parents cf2bb38 + 69aa103 commit c108fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/filesystem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Return the relative path of a directory given another one::
204204
'/var/lib/symfony/src/Symfony/Component'
205205
);
206206
// returns 'videos'
207-
$fs->makePathRelative('/tmp', '/tmp/videos');
207+
$fs->makePathRelative('/tmp/videos', '/tmp')
208208

209209
mirror
210210
~~~~~~

0 commit comments

Comments
 (0)