Skip to content

Commit

Permalink
Remove closure wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Jan 7, 2024
1 parent 7c149b9 commit e4cf9fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Configs/github-actions.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
use Phpfastcache\Drivers\Couchbasev4\Config as Couchbasev4Config;

return (static fn(Couchbasev4Config $config) => $config->setItemDetailedDate(true)
return (new Couchbasev4Config())
->setItemDetailedDate(true)
->setUsername('test')
->setPassword('phpfastcache')
->setServers(['127.0.0.1'])
->setBucketName('phpfastcache')
->setScopeName('_default')
->setCollectionName('_default')
)(new Couchbasev4Config());
->setCollectionName('_default');

0 comments on commit e4cf9fd

Please sign in to comment.