Lint
This commit is contained in:
parent
1632da9b61
commit
5357106187
|
@ -19,12 +19,10 @@ class FullMemberAction
|
||||||
'courses' => CoursesOfAction::run($api, $memberId),
|
'courses' => CoursesOfAction::run($api, $memberId),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (!$redisKey) {
|
if ($redisKey) {
|
||||||
return $fullMember;
|
Redis::rpush($redisKey, $fullMember->toJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
Redis::rpush($redisKey, $fullMember->toJson());
|
|
||||||
|
|
||||||
return $fullMember;
|
return $fullMember;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue