| Total Complexity | 1 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 6 | class ActivityLogRepository | ||
| 7 | { | ||
| 8 | /** | ||
| 9 | * Update the activity log if it exist or create and save it. | ||
| 10 | * | ||
| 11 | * @param array $data The data used to update/create the log. | ||
| 12 | * @param int $id The user id related to the activity log. | ||
| 13 | * | ||
| 14 | * @return \Xetaravel\Models\ActivityLog | ||
| 15 | */ | ||
| 16 | public static function update(array $data, int $id): ActivityLog | ||
| 33 |