Skip to content

Commit f83bedc

Browse files
committed
Fxing docs
1 parent 5e62d81 commit f83bedc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/KV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var_dump($qm, $kvp);
2424
### List All KVP's under specified prefix
2525

2626
```php
27-
list($kvps, $qm, $err) = $client->KV()->list('prefix');
27+
list($kvps, $qm, $err) = $client->KV()->valueList('prefix');
2828
if (null !== $err)
2929
die($err);
3030

src/KV/KVClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function valueList($prefix, QueryOptions $queryOptions = null)
8484
if (!is_string($prefix) || '' === $prefix)
8585
{
8686
return [null, null, new Error(sprintf(
87-
'%s::getList - Prefix expected to be non-empty string, "%s" seen.',
87+
'%s::valueList - Prefix expected to be non-empty string, "%s" seen.',
8888
get_class($this),
8989
is_string($prefix) ? $prefix : gettype($prefix)
9090
))];

0 commit comments

Comments
 (0)