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:
@ -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();
|
||||
|
Reference in New Issue
Block a user