File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -219,17 +219,17 @@ systems (unlike PHP's :phpfunction:`readlink` function)::
219219 // returns its absolute fully resolved final version of the target (if there are nested links, they are resolved)
220220 $filesystem->readlink('/path/to/link', true);
221221
222- Its behavior is the following::
223-
224- public function readlink(string $path, bool $canonicalize = false): ?string
222+ Its behavior is the following:
225223
226224* When ``$canonicalize `` is ``false ``:
227- * if ``$path `` does not exist or is not a link, it returns ``null ``.
228- * if ``$path `` is a link, it returns the next direct target of the link without considering the existence of the target.
225+
226+ * if ``$path `` does not exist or is not a link, it returns ``null ``.
227+ * if ``$path `` is a link, it returns the next direct target of the link without considering the existence of the target.
229228
230229* When ``$canonicalize `` is ``true ``:
231- * if ``$path `` does not exist, it returns null.
232- * if ``$path `` exists, it returns its absolute fully resolved final version.
230+
231+ * if ``$path `` does not exist, it returns null.
232+ * if ``$path `` exists, it returns its absolute fully resolved final version.
233233
234234.. note ::
235235
You can’t perform that action at this time.
0 commit comments