File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
components/cache/adapters Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ the second and third parameters::
3232
3333 $cache = new CouchbaseBucketAdapter(
3434 // the client object that sets options and adds the server instance(s)
35- \CouchbaseBucket $client,
35+ $client,
3636
3737 // the name of bucket
38- string $bucket,
38+ $bucket,
3939
4040 // a string prefixed to the keys of the items stored in this cache
41- $namespace = '' ,
41+ $namespace,
4242
4343 // the default lifetime (in seconds) for cache items that do not define their
4444 // own lifetime, with a value 0 causing items to be stored indefinitely
45- $defaultLifetime = 0,
45+ $defaultLifetime
4646 );
4747
4848
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ the second and third parameters::
2828
2929 $cache = new CouchbaseCollectionAdapter(
3030 // the client object that sets options and adds the server instance(s)
31- \Couchbase\Collection $client,
31+ $client,
3232
3333 // a string prefixed to the keys of the items stored in this cache
34- $namespace = '' ,
34+ $namespace,
3535
3636 // the default lifetime (in seconds) for cache items that do not define their
3737 // own lifetime, with a value 0 causing items to be stored indefinitely
38- $defaultLifetime = 0,
38+ $defaultLifetime
3939 );
4040
4141
You can’t perform that action at this time.
0 commit comments