diff --git a/src/SwiftAdapter.php b/src/SwiftAdapter.php index e08dfd9..a7de05b 100644 --- a/src/SwiftAdapter.php +++ b/src/SwiftAdapter.php @@ -344,7 +344,10 @@ protected function getObject(string $path): StorageObject return $object; } - protected function normalizeObject(StorageObject $object): FileAttributes|DirectoryAttributes + /** + * @return FileAttributes|DirectoryAttributes + */ + protected function normalizeObject(StorageObject $object) { $name = $this->prefixer->stripDirectoryPrefix($object->name);