Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic usage documentation - minor error #320

Open
JeromeGill opened this issue Sep 22, 2016 · 1 comment
Open

Basic usage documentation - minor error #320

JeromeGill opened this issue Sep 22, 2016 · 1 comment

Comments

@JeromeGill
Copy link

JeromeGill commented Sep 22, 2016

"using an age" example is slightly wrong,

// Get cache item.
    $item = $pool->getItem('path/to/item');

// Using an age.
$data = $pool->get();

should be

// Get cache item.
    $item = $pool->getItem('path/to/item');

// Using an age.
$item = $pool->get();

sorry I didn't see if you can PR the docs directly

@limenet
Copy link
Contributor

limenet commented Sep 27, 2016

@JeromeGill you can submit a PR against the docs in the separate repo for the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants