Skip to content

Commit

Permalink
md lint
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Demonchaux <[email protected]>
  • Loading branch information
fezfez committed Oct 18, 2024
1 parent 718f27b commit 0658041
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 65 deletions.
6 changes: 3 additions & 3 deletions docs/book/client/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ Besides the methods demonstrated in the examples, `Laminas\Http\Cookies` defines
Method signature | Description
------------------------------------------------------------------- | -----------
`static fromResponse(Response $response, string $refUri) : Cookies` | Create a `Cookies` instance from a response and the request URI. Parses all `Set-Cookie` headers, maps them to the URI, and aggregates them.
`addCookie(string\|SetCookie $cookie, string $refUri = null) : void` | Add a cookie, mapping it to the given URI. If no URI is provided, it will be inferred from the cookie value's domain and path.
`addCookie(string|SetCookie $cookie, string $refUri = null) : void` | Add a cookie, mapping it to the given URI. If no URI is provided, it will be inferred from the cookie value's domain and path.

Check failure on line 105 in docs/book/client/cookies.md

View workflow job for this annotation

GitHub Actions / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...

Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]
`addCookiesFromResponse(Response $response, string $refUri) : void` | Add all `Set-Cookie` values from the provided response, mapping to the given URI.
`getAllCookies(int $retAs = self::COOKIE_OBJECT) : array\|string` | Retrieve all cookies. Returned array will have either `SetCookie` instances (the default), strings for each `Set-Cookie` declaration, or a single string containing all declarations, based on the `COOKIE_*` constant used.
`getCookie(/*...*/) : string\|SetCookie` | Retrieve a single cookie by name for the given URI. See below for argument details.
`getAllCookies(int $retAs = self::COOKIE_OBJECT) : array|string` | Retrieve all cookies. Returned array will have either `SetCookie` instances (the default), strings for each `Set-Cookie` declaration, or a single string containing all declarations, based on the `COOKIE_*` constant used.

Check failure on line 107 in docs/book/client/cookies.md

View workflow job for this annotation

GitHub Actions / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...

Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]
`getCookie(/* ... */) : string|SetCookie` | Retrieve a single cookie by name for the given URI. See below for argument details.

Check failure on line 108 in docs/book/client/cookies.md

View workflow job for this annotation

GitHub Actions / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...

Spaces inside emphasis markers [Context: "* ."]

Check failure on line 108 in docs/book/client/cookies.md

View workflow job for this annotation

GitHub Actions / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...

Spaces inside emphasis markers [Context: ". *"]

Check failure on line 108 in docs/book/client/cookies.md

View workflow job for this annotation

GitHub Actions / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...

Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]
`getMatchingCookies(/* ... */) : array` | See below for details.
`isEmpty() : bool` | Whether or not the instance aggregates any cookies currently.
`reset() : void` | Clear all aggregated cookies from the instance.
Expand Down
Loading

0 comments on commit 0658041

Please sign in to comment.