Add optional `$clock` parameter to `CookieCollection::fromResponse()`

Open Beginner friendly
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start with CookieCollection::fromResponse() and trace its call to Cookie::fromCookieString(). Add the optional clock parameter and ensure it is passed through; done means callers can provide a clock without breaking existing calls and the relevant tests pass.

Written by the indexing model from the issue text.

Description

It needs to pass clock to Cookie::fromCookieString().

Dominant language
PHP
Stars
21
Forks
5
Avg merge
1h 7m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yiisoft/cookies

All issues in yiisoft/cookies

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.