1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added inital phpstan/larastan setup

This commit is contained in:
Dan Brown
2021-11-05 16:18:06 +00:00
parent d0aa10a8c3
commit bc291bee78
20 changed files with 1086 additions and 124 deletions

View File

@ -20,9 +20,9 @@ class StatusController extends Controller
}),
'cache' => $this->trueWithoutError(function () {
$rand = Str::random();
Cache::set('status_test', $rand);
Cache::add('status_test', $rand);
return Cache::get('status_test') === $rand;
return Cache::pull('status_test') === $rand;
}),
'session' => $this->trueWithoutError(function () {
$rand = Str::random();