From 2766d70271add07d86959c727d5f30c2e1127334 Mon Sep 17 00:00:00 2001 From: mohamed gasmi Date: Sat, 6 Aug 2022 11:41:34 +0200 Subject: [PATCH] [Filesystem] Add type hints readlink() Add type hints for readlink, return hints added in v6.0 --- components/filesystem.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index d99e6036a27..20c3032a6a6 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -221,7 +221,7 @@ systems (unlike PHP's :phpfunction:`readlink` function):: Its behavior is the following:: - public function readlink($path, $canonicalize = false) + public function readlink(string $path, bool $canonicalize = false): ?string * When ``$canonicalize`` is ``false``: * if ``$path`` does not exist or is not a link, it returns ``null``.