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

Commit d41ad40

Browse files
committed
Add default return values to method stubs
1 parent b6676ba commit d41ad40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/wpxf/wordpress/shell_upload.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@ def payload_name
3636

3737
# @return [String] the URL of the file used to upload the payload.
3838
def uploader_url
39+
nil
3940
end
4041

4142
# @return [BodyBuilder] the {Wpxf::Utility::BodyBuilder} used to generate the uploader form.
4243
def payload_body_builder
44+
nil
4345
end
4446

4547
# @return [String] the URL of the payload after it is uploaded to the target.
4648
def uploaded_payload_location
49+
nil
4750
end
4851

4952
# Called prior to preparing and uploading the payload.

0 commit comments

Comments
 (0)