@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function getById(int $id): RoleModel |
32 | 32 | { |
33 | - return $this->cache->remember(static::class . '@getById:' . $id, 5000, function() use ($id) { |
|
33 | + return $this->cache->remember(static::class.'@getById:'.$id, 5000, function() use ($id) { |
|
34 | 34 | return $this->roleRepository->getById($id); |
35 | 35 | }); |
36 | 36 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function getByDataProviderId(int $dataProviderId): RoleModel |
50 | 50 | { |
51 | - return $this->cache->remember(static::class . '@getByDataProviderId:' . $dataProviderId, 5000, function() use ($dataProviderId) { |
|
51 | + return $this->cache->remember(static::class.'@getByDataProviderId:'.$dataProviderId, 5000, function() use ($dataProviderId) { |
|
52 | 52 | return $this->roleRepository->getByDataProviderId($dataProviderId); |
53 | 53 | }); |
54 | 54 | } |