| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | 1 | public function update(UserModel $oldUser, UserModel $newUser) |
|
| 36 | { |
||
| 37 | 1 | $this->cache->forget(UserCache::class . '@count'); |
|
| 38 | 1 | $this->cache->forget(UserCache::class . '@getById:' . $newUser->id()); |
|
| 39 | 1 | $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $oldUser->dataProviderId()); |
|
| 40 | 1 | $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $newUser->dataProviderId()); |
|
| 41 | 1 | } |
|
| 43 | } |