Skip to content

Commit 3ad3f3d

Browse files
Merge branch '4.3' into 4.4
* 4.3: cs fix Fix return statements [TwigBridge] add missing dep Add false type to ChoiceListFactoryInterface::createView $label argument Update UPGRADE guide of 4.3 for EventDispatcher [SecurityBundle] display the correct class name on the deprecated notice
2 parents ebe9b2f + 16988b0 commit 3ad3f3d

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
@@ -408,12 +408,12 @@ private function linkException(string $origin, string $target, string $linkType)
408408
public function readlink($path, $canonicalize = false)
409409
{
410410
if (!$canonicalize && !is_link($path)) {
411-
return;
411+
return null;
412412
}
413413

414414
if ($canonicalize) {
415415
if (!$this->exists($path)) {
416-
return;
416+
return null;
417417
}
418418

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

0 commit comments

Comments
 (0)