Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit a21842b

Browse files
committed
Fix invalid yardoc
1 parent 422e87d commit a21842b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.yardopts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--exclude lib/wpxf/net/typhoeus_helper.rb
22
--exclude lib/wpxf/net/http_options.rb
33
--exclude lib/wpxf/core.rb
4-
--exclude lib/wpxf/cli/**/*
5-
--exclude lib/wpxf/modules/**/*
6-
--exclude lib/wpxf/payloads/**/*
4+
--exclude lib/wpxf/cli/*
5+
--exclude lib/wpxf/modules/*
6+
--exclude lib/wpxf/payloads/*
77

88
lib/wpxf/**/*.rb

lib/wpxf/helpers/export.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def generate_unique_filename(file_extension)
3434
File.join(storage_path, filename)
3535
end
3636

37-
# Save {content} to a new file and log the loot in the database.
37+
# Save content to a new file and log the loot in the database.
3838
# @param content [String] the file content to save.
3939
# @param extension [String] the file extension to use when creating the file.
4040
# @return [Models::LootItem] the newly created {Models::LootItem}.

lib/wpxf/wordpress/file_download.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def expected_http_code
8888
end
8989

9090
# Handles an occurrence of an unexpected result.
91-
# @param [Integer] the returned HTTP code.
91+
# @param code [Integer] the returned HTTP code.
9292
# @return [Boolean] true if the code should be ignored, false if the module should fail.
9393
def handle_unexpected_http_code(code)
9494
emit_error "Server responded with code #{code}"

0 commit comments

Comments
 (0)