Skip to content

[Docs] - added missing return types in documentation comments #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Sources/Swift/FlexLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public final class Flex {
flexbox's UIView is excluded, FlexLayout won't layout the view and its children views.

- Parameter included: true to layout the view
- Returns:
- Returns: Flex interface
*/
@discardableResult
public func isIncludedInLayout(_ included: Bool) -> Flex {
Expand Down Expand Up @@ -235,7 +235,7 @@ public final class Flex {
root of your layout tree.

- Parameter value: new LayoutDirection
- Returns:
- Returns: Flex interface
*/
@discardableResult
public func layoutDirection(_ value: LayoutDirection) -> Flex {
Expand Down Expand Up @@ -520,7 +520,7 @@ public final class Flex {
media types. AspectRatio accepts any floating point value > 0, the default is undefined.

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

- Parameter value:
- Returns:
- Returns: Flex interface
*/
@discardableResult
public func aspectRatio(of imageView: UIImageView) -> Flex {
Expand Down