Skip to content
This repository was archived by the owner on Jun 17, 2023. It is now read-only.

Commit 2b38e25

Browse files
committed
Remove extra return keyword
1 parent ea4f295 commit 2b38e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/CollectionViewPagingLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class CollectionViewPagingLayout: UICollectionViewLayout {
4343
}
4444

4545
private var numberOfItems: Int {
46-
return (0..<(collectionView?.numberOfSections ?? 0))
46+
(0..<(collectionView?.numberOfSections ?? 0))
4747
.compactMap { collectionView?.numberOfItems(inSection: $0) }
4848
.reduce(0, +)
4949
}

0 commit comments

Comments
 (0)