diff --git a/components/filesystem.rst b/components/filesystem.rst index 6e5ca5140fa..2984ac4f68b 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -204,7 +204,7 @@ Return the relative path of a directory given another one:: '/var/lib/symfony/src/Symfony/Component' ); // returns 'videos' - $fs->makePathRelative('/tmp', '/tmp/videos'); + $fs->makePathRelative('/tmp/videos', '/tmp') mirror ~~~~~~