Skip to content

Commit

Permalink
[6.x] Update Filesystem::link documentation (#31184)
Browse files Browse the repository at this point in the history
* Update Filesystem::link documentation

The method creates symlink on Unixes and hard links on windows.

* Update Filesystem.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
glensc and taylorotwell committed Jan 21, 2020
1 parent 4f87b37 commit 3ffab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Filesystem/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function copy($path, $target)
}

/**
* Create a hard link to the target file or directory.
* Create a symlink to the target file or directory. On Windows, a hard link is created if the target is a file.
*
* @param string $target
* @param string $link
Expand Down

0 comments on commit 3ffab1b

Please sign in to comment.