Skip to content

Commit 7da6bc3

Browse files
committed
Update keywords.
1 parent c892cde commit 7da6bc3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"name": "vcian/pulse-active-sessions",
3-
"description": "A Laravel Pulse card to show active user sessions",
3+
"description": "A Laravel Pulse card to show active user session.",
44
"keywords": [
5-
"pulse",
65
"laravel",
6+
"pulse",
77
"laravel-pulse",
8-
"pulse-active-sessions"
8+
"active-session",
9+
"active-user-session",
10+
"pulse-active-session",
11+
"session"
912
],
1013
"homepage": "https://github.com/vcian/pulse-active-sessions",
1114
"license": "MIT",

src/Recorders/PulseActiveSessionRecorder.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ private function countActiveRedisSession($authProvider): int
186186
*/
187187
private function countActiveMemcachedSession($authProvider): int
188188
{
189-
$memcachedStore = Cache::store('memcached')->getStore();
190-
$memcached = $memcachedStore->getMemcached();
189+
$memcached = Cache::store('memcached')
190+
->getStore()
191+
->getMemcached();
191192
$memcacheData = $memcached->getAllKeys();
192193
$response = Constant::ZERO;
193194

@@ -294,7 +295,7 @@ private function currentApiDriver()
294295
private function apiLoginCounts($apiDriver, $authProvider): int
295296
{
296297
$key = "active_session_" . $authProvider;
297-
298+
298299
$response = match ($apiDriver) {
299300
'sanctum' => $this->recordSanctum($authProvider),
300301
'passport' => $this->recordPassport($authProvider),

0 commit comments

Comments
 (0)