diff --git a/src/DelegatingManager.php b/src/DelegatingManager.php index d61eb14..3ee6953 100644 --- a/src/DelegatingManager.php +++ b/src/DelegatingManager.php @@ -48,9 +48,9 @@ public function getManagerFor(string $class): ManagerInterface return $this->managers[$class]; } - 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