Skip to content

Commit a846bf1

Browse files
authored
Merge pull request #272 from junbangg/docs-fix-method-description-comments
[Docs] - added missing return types in documentation comments
2 parents f4537c0 + 14bb3a8 commit a846bf1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/Swift/FlexLayout.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public final class Flex {
138138
flexbox's UIView is excluded, FlexLayout won't layout the view and its children views.
139139

140140
- Parameter included: true to layout the view
141-
- Returns:
141+
- Returns: Flex interface
142142
*/
143143
@discardableResult
144144
public func isIncludedInLayout(_ included: Bool) -> Flex {
@@ -235,7 +235,7 @@ public final class Flex {
235235
root of your layout tree.
236236

237237
- Parameter value: new LayoutDirection
238-
- Returns:
238+
- Returns: Flex interface
239239
*/
240240
@discardableResult
241241
public func layoutDirection(_ value: LayoutDirection) -> Flex {
@@ -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)