From 4c2cd3e91d73c44e3277ec23717247f33933288b Mon Sep 17 00:00:00 2001 From: Denis Rendler Date: Wed, 10 Aug 2016 20:33:25 +0300 Subject: [PATCH 1/2] Add a class specificity for SplFileInfo - update text to differentiate between PHP's SplFileInfo and Symfony's SplFileInfo --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index bda89c394a8..e7ddb7e8343 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -41,7 +41,7 @@ directories:: } The ``$file`` is an instance of :class:`Symfony\\Component\\Finder\\SplFileInfo` -which extends :phpclass:`SplFileInfo` to provide methods to work with relative +which extends PHP's own :phpclass:`\SplFileInfo` to provide methods to work with relative paths. The above code prints the names of all the files in the current directory From 42f69aeedc7301bcd25d03f91690eafe52e44161 Mon Sep 17 00:00:00 2001 From: Denis Rendler Date: Thu, 11 Aug 2016 13:54:04 +0300 Subject: [PATCH 2/2] Remove additional backslash Remove additional backslash --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index e7ddb7e8343..370c8aedf07 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -41,7 +41,7 @@ directories:: } The ``$file`` is an instance of :class:`Symfony\\Component\\Finder\\SplFileInfo` -which extends PHP's own :phpclass:`\SplFileInfo` to provide methods to work with relative +which extends PHP's own :phpclass:`SplFileInfo` to provide methods to work with relative paths. The above code prints the names of all the files in the current directory