Skip to content

Commit 14bb3a8

Browse files
committed
DOCS: add return type to aspectRatio documentation comment
1 parent 928d473 commit 14bb3a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Swift/FlexLayout.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public final class Flex {
520520
media types. AspectRatio accepts any floating point value > 0, the default is undefined.
521521

522522
- Parameter value:
523-
- Returns:
523+
- Returns: Flex interface
524524
*/
525525
@discardableResult
526526
public func aspectRatio(_ value: CGFloat?) -> Flex {
@@ -534,7 +534,7 @@ public final class Flex {
534534
media types. AspectRatio accepts any floating point value > 0, the default is undefined.
535535

536536
- Parameter value:
537-
- Returns:
537+
- Returns: Flex interface
538538
*/
539539
@discardableResult
540540
public func aspectRatio(of imageView: UIImageView) -> Flex {

0 commit comments

Comments
 (0)