File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments