From bc3b52a862e71fa5d0f12d456ea3d0db7732f855 Mon Sep 17 00:00:00 2001 From: yexue666 <99558390+yexue666@users.noreply.github.com> Date: Wed, 17 Aug 2022 05:35:49 +0800 Subject: [PATCH] fix(): default visibility fix(): default visibility --- src/PortableVisibilityConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PortableVisibilityConverter.php b/src/PortableVisibilityConverter.php index 7a2c4c3..eeb60a0 100644 --- a/src/PortableVisibilityConverter.php +++ b/src/PortableVisibilityConverter.php @@ -31,7 +31,7 @@ public function visibilityToAcl(string $visibility): string public function aclToVisibility(string $acl): string { if ($acl == 'default') { - $this->defaultForDirectories(); + return $this->defaultForDirectories(); } elseif ($acl === self::PUBLIC_ACL) { return Visibility::PUBLIC; }