Skip to content

Commit f2569d6

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Filesystem] Fix check path methods
2 parents bfee198 + 4a30d9a commit f2569d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/filesystem.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ as necessary::
399399
echo Path::makeRelative('/var/www/project/config/config.yaml', '/var/www/project/uploads');
400400
// => ../config/config.yaml
401401

402-
Use :method:`Symfony\\Component\\Filesystem\\Path::makeAbsolute` and
403-
:method:`Symfony\\Component\\Filesystem\\Path::makeRelative` to check whether a
402+
Use :method:`Symfony\\Component\\Filesystem\\Path::isAbsolute` and
403+
:method:`Symfony\\Component\\Filesystem\\Path::isRelative` to check whether a
404404
path is absolute or relative::
405405

406406
Path::isAbsolute('C:\Programs\PHP\php.ini')

0 commit comments

Comments
 (0)