Skip to content

Commit 10661ec

Browse files
Fix return statements
1 parent f1b75e0 commit 10661ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,12 @@ private function linkException($origin, $target, $linkType)
413413
public function readlink($path, $canonicalize = false)
414414
{
415415
if (!$canonicalize && !is_link($path)) {
416-
return;
416+
return null;
417417
}
418418

419419
if ($canonicalize) {
420420
if (!$this->exists($path)) {
421-
return;
421+
return null;
422422
}
423423

424424
if ('\\' === \DIRECTORY_SEPARATOR) {

0 commit comments

Comments
 (0)