Skip to content

Commit 4cfd68b

Browse files
committed
minor #16883 [Filesystem] filesystem > readlink: remove function declaration (alexislefebvre)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Filesystem] filesystem > readlink: remove function declaration I think that `public function` was confusing here: we don't want to define this method but we want to know how to use it. The code will be more consistent with the other examples. Commits ------- 47cb76d [Filesystem] filesystem > readlink: remove function declaration
2 parents 9773afd + 47cb76d commit 4cfd68b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/filesystem.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ systems (unlike PHP's :phpfunction:`readlink` function)::
214214

215215
Its behavior is the following::
216216

217-
public function readlink($path, $canonicalize = false)
218-
219-
* When ``$canonicalize`` is ``false``:
217+
* When ``$canonicalize`` is ``false`` (the default value):
220218
* if ``$path`` does not exist or is not a link, it returns ``null``.
221219
* if ``$path`` is a link, it returns the next direct target of the link without considering the existence of the target.
222220

0 commit comments

Comments
 (0)