Stash icon indicating copy to clipboard operation
Stash copied to clipboard

Basic usage documentation - minor error

Open JeromeGill opened this issue 9 years ago • 1 comments

"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

JeromeGill avatar Sep 22 '16 15:09 JeromeGill

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

limenet avatar Sep 27 '16 18:09 limenet