Skip to content

Commit 69aa103

Browse files
committed
Fixed wrong makePathRelative example in Filesystem component
1 parent d7e8a07 commit 69aa103

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)