Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Nov 29, 2017
1 parent 8cd4e59 commit 065272e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/5.0/components/host.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class Host implements ComponentInterface, Countable, IteratorAggregate
public function keys([string $label]): array
public function prepend(string $host): self
public function replaceLabel(int $offset, string $host): self
public function withoutLabels(array $offsets): self
public function withoutRootLabel(void): self
public function withoutZoneIdentifier(void): self
public function withRegisterableDomain(string $host): self
public function withSubDomain(string $host): self
public function withRootLabel(void): self
public function withoutRootLabel(void): self
public function withoutLabels(array $offsets): self
public function withSubDomain(string $host): self
}
~~~

Expand Down
4 changes: 2 additions & 2 deletions docs/5.0/components/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class Path implements ComponentInterface
{
public function isAbsolute(void): bool
public function withLeadingSlash(void): self
public function withoutLeadingSlash(void): self
public function withoutDotSegments(void): self
public function withTrailingSlash(void): self
public function withoutLeadingSlash(void): self
public function withoutTrailingSlash(void): self
public function withoutEmptySegments(void): self
public function withTrailingSlash(void): self
}
~~~

Expand Down
5 changes: 3 additions & 2 deletions docs/5.0/components/userinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ The library provides a `UserInfo` class to ease user information creation and ma

class UserInfo implements ComponentInterface
{
public getUser(int $enc_type = self::RFC3986_ENCODING): ?string
public getPass(int $enc_type = self::RFC3986_ENCODING): ?string
public function getUser(int $enc_type = self::RFC3986_ENCODING): ?string
public function getPass(int $enc_type = self::RFC3986_ENCODING): ?string
public function withUserInfo(string $user, ?string $password = null): self
}
~~~

Expand Down

0 comments on commit 065272e

Please sign in to comment.