Too few arguments to function Illuminate\Cache\CacheManager::repository(), 1 passed in /app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 357 and exactly 2 expected
Steps To Reproduce
Install laravel with laravel new app
Add laravel octane using composer require laravel/octane
Install octane using php artisan octane:install --server=swoole
Add this script to web.php before view
cache()->store('octane')->put('time', now()->format('U'));
Octane Version
2.3.5
Laravel Version
11.0
PHP Version
8.2.14
What server type are you using?
Swoole
Server Version
5.1.1
Database Driver & Version
No response
Description
Error when using Octane Cache
Too few arguments to function Illuminate\Cache\CacheManager::repository(), 1 passed in /app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 357 and exactly 2 expected
Steps To Reproduce
laravel new app
composer require laravel/octane
php artisan octane:install --server=swoole
cache()->store('octane')->put('time', now()->format('U'));
php artisan octane:start