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)::
219
219
// returns its absolute fully resolved final version of the target (if there are nested links, they are resolved)
220
220
$filesystem->readlink('/path/to/link', true);
221
221
222
- Its behavior is the following::
223
-
224
- public function readlink(string $path, bool $canonicalize = false): ?string
222
+ Its behavior is the following:
225
223
226
224
* 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.
229
228
230
229
* 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.
233
233
234
234
.. note ::
235
235
You can’t perform that action at this time.
0 commit comments