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

Commit 15ab212

Browse files
committed
Fix invalid yardoc
1 parent 72c688c commit 15ab212

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/wpxf/net/http_server.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def http_server_bind_port
4242
# @param params [Hash] the query string parameters.
4343
# @param headers [Hash] the HTTP headers.
4444
# @return [String, Hash] if a string is returned, it will be used as the response body
45-
# to send to the client. If a {Hash} is returned, it should contain the keys:
45+
# to send to the client. If a hash is returned, it should contain the keys:
4646
# * +:body+ - the body text of the response.
4747
# * +:type+ - the MIME type of the response.
48-
# * +:headers+ - a {Hash} of header keys and values.
48+
# * +:headers+ - a hash of header keys and values.
4949
def on_http_request(path, params, headers)
5050
end
5151

lib/wpxf/wordpress/file_download.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def initialize
2323
])
2424
end
2525

26+
# @return [Boolean] true if the export path option is required.
2627
def export_path_required
2728
false
2829
end
@@ -69,7 +70,7 @@ def export_path
6970
end
7071

7172
# Validate the contents of the requested file.
72-
# @param [String] the file contents.
73+
# @param content [String] the file contents.
7374
# @return [Boolean] true if valid.
7475
def validate_content(content)
7576
true

0 commit comments

Comments
 (0)