Skip to content

Commit c2196aa

Browse files
committed
Add missing return types
1 parent 4e236af commit c2196aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public function hardlink(string $originFile, string|iterable $targetFiles)
401401
/**
402402
* @param string $linkType Name of the link type, typically 'symbolic' or 'hard'
403403
*/
404-
private function linkException(string $origin, string $target, string $linkType)
404+
private function linkException(string $origin, string $target, string $linkType): never
405405
{
406406
if (self::$lastError) {
407407
if ('\\' === \DIRECTORY_SEPARATOR && str_contains(self::$lastError, 'error code(1314)')) {

0 commit comments

Comments
 (0)