Skip to content

Commit

Permalink
mention returned objects consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 16, 2017
1 parent fb3caad commit 2c914f3
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

7.34 2017-06-13
7.34 2017-06-16

7.33 2017-06-05
- Added EXPERIMENTAL support for :matches pseudo-class and :not pseudo-class
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/ByteStream.pm
Expand Up @@ -137,7 +137,7 @@ Camelize bytestream with L<Mojo::Util/"camelize">.
my $stream2 = $stream->clone;
Clone bytestream.
Return a new L<Mojo::ByteStream> object cloned from this bytestream.
=head2 decamelize
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Content.pm
Expand Up @@ -445,7 +445,8 @@ Extract charset from C<Content-Type> header.
my $clone = $content->clone;
Clone content if possible, otherwise return C<undef>.
Return a new L<Mojo::Content> object cloned from this content if possible,
otherwise return C<undef>.
=head2 generate_body_chunk
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Content/MultiPart.pm
Expand Up @@ -272,7 +272,8 @@ Generate a suitable boundary for content and add it to C<Content-Type> header.
my $clone = $multi->clone;
Clone content if possible, otherwise return C<undef>.
Return a new L<Mojo::Content::MultiPart> object cloned form this content if
possible, otherwise return C<undef>.
=head2 get_body_chunk
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Content/Single.pm
Expand Up @@ -135,7 +135,8 @@ Content size in bytes.
my $clone = $single->clone;
Clone content if possible, otherwise return C<undef>.
Return a new L<Mojo::Content::Single> object cloned from this content if
possible, otherwise return C<undef>.
=head2 get_body_chunk
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Headers.pm
Expand Up @@ -298,7 +298,7 @@ Get or replace current header value, shortcut for the C<Cache-Control> header.
my $clone = $headers->clone;
Clone headers.
Return a new L<Mojo::Headers> object cloned from these headers.
=head2 connection
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Message/Request.pm
Expand Up @@ -340,7 +340,8 @@ implements the following new ones.
my $clone = $req->clone;
Clone request if possible, otherwise return C<undef>.
Return a new L<Mojo::Message::Request> object cloned from this request if
possible, otherwise return C<undef>.
=head2 cookies
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Parameters.pm
Expand Up @@ -247,7 +247,7 @@ Append parameters. Note that this method will normalize the parameters.
my $params2 = $params->clone;
Clone parameters.
Return a new L<Mojo::Parameters> object cloned from these parameters.
=head2 every_param
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Path.pm
Expand Up @@ -187,7 +187,7 @@ treated as C<.> to protect from path traversal attacks.
my $clone = $path->clone;
Clone path.
Return a new L<Mojo::Path> object cloned from this path.
=head2 contains
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojo/URL.pm
Expand Up @@ -294,7 +294,7 @@ following new ones.
my $url2 = $url->clone;
Clone this URL.
Return a new L<Mojo::URL> object cloned from this URL.
=head2 host_port
Expand Down Expand Up @@ -457,8 +457,8 @@ object.
my $abs = $url->to_abs;
my $abs = $url->to_abs(Mojo::URL->new('http://example.com/foo'));
Clone relative URL and turn it into an absolute one using L</"base"> or
provided base URL.
Return a new L<Mojo::URL> object cloned from this relative URL and turn it into
an absolute one using L</"base"> or provided base URL.
# "http://example.com/foo/baz.xml?test=123"
Mojo::URL->new('baz.xml?test=123')
Expand Down

0 comments on commit 2c914f3

Please sign in to comment.