add uploadspeed + downloadspeed +isp

This commit is contained in:
xiaomlove
2022-07-30 15:06:51 +08:00
parent 8a4f4a77cb
commit 1ed68b6058
28 changed files with 477 additions and 64 deletions
+5 -2
View File
@@ -39,10 +39,13 @@ class BaseRepository
/**
* @param $user
* @param null $fields
* @return User
* @return User|null
*/
protected function getUser($user, $fields = null): User
protected function getUser($user, $fields = null): User|null
{
if ($user === null) {
return null;
}
if ($user instanceof User) {
return $user;
}