From 96a2f6b59f35c5e65cce4c73e3d465f825bd4ed1 Mon Sep 17 00:00:00 2001 From: Bozhidar Hristov Date: Sun, 11 Jul 2021 23:36:43 +0300 Subject: [PATCH] Fix PSALM --- src/PathResolverManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PathResolverManager.php b/src/PathResolverManager.php index 1d7639b..03d9f88 100644 --- a/src/PathResolverManager.php +++ b/src/PathResolverManager.php @@ -19,9 +19,9 @@ public function __construct(ManagerInterface $manager, PathResolver $pathResolve $this->pathResolver = $pathResolver; } - public function upload(SplFileInfo $file): File + public function upload(SplFileInfo $splFileInfo): File { - return $this->manager->upload($file); + return $this->manager->upload($splFileInfo); } public function getPathname(File $file): string