| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | return $query->get(); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * Resolve a ticket's assigned agent, optionally excluding the actor. | |
| 33 | + * The ticket's assigned agent, unless that agent is $excludePersonId. | |
| 34 | 34 | * |
| 35 | 35 | * @param \FluentSupport\App\Models\Ticket $ticket |
| 36 | 36 | * @param int|null $excludePersonId |
| 37 | 37 | * @return \FluentSupport\App\Models\Agent|null |
| @@ -51,9 +51,9 @@ | ||
| 51 | 51 | return $query->first(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * Normalize recipient person IDs for notification fanout. | |
| 55 | + * Unique person IDs from $recipients, minus $excludePersonId. | |
| 56 | 56 | * |
| 57 | 57 | * @param iterable $recipients |
| 58 | 58 | * @param int|null $excludePersonId |
| 59 | 59 | * @return array |