From 69aa103cc683c08796c44229fdc3e9ad72afa37d Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Thu, 25 Apr 2013 18:50:57 +0300 Subject: [PATCH] Fixed wrong makePathRelative example in Filesystem component --- components/filesystem.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ~~~~~~