Skip to content

Commit 0748272

Browse files
authored
Merge pull request #32 from 4c0n/remove-union-type
Specify union type in phpdoc
2 parents 792b0c6 + ecf3a2a commit 0748272

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SwiftAdapter.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,10 @@ protected function getObject(string $path): StorageObject
344344
return $object;
345345
}
346346

347-
protected function normalizeObject(StorageObject $object): FileAttributes|DirectoryAttributes
347+
/**
348+
* @return FileAttributes|DirectoryAttributes
349+
*/
350+
protected function normalizeObject(StorageObject $object)
348351
{
349352
$name = $this->prefixer->stripDirectoryPrefix($object->name);
350353

0 commit comments

Comments
 (0)