@@ 343-349 (lines=7) @@ | ||
340 | 'name' => $subjectParams['before'] |
|
341 | ]; |
|
342 | } |
|
343 | if (array_key_exists('after', $subjectParams)) { |
|
344 | $params['after'] = [ |
|
345 | 'type' => 'highlight', |
|
346 | 'id' => $subjectParams['after'], |
|
347 | 'name' => $subjectParams['after'] |
|
348 | ]; |
|
349 | } |
|
350 | if (array_key_exists('card', $subjectParams) && $event->getSubject() === ActivityManager::SUBJECT_CARD_UPDATE_TITLE) { |
|
351 | $params['card'] = [ |
|
352 | 'type' => 'highlight', |
|
@@ 350-356 (lines=7) @@ | ||
347 | 'name' => $subjectParams['after'] |
|
348 | ]; |
|
349 | } |
|
350 | if (array_key_exists('card', $subjectParams) && $event->getSubject() === ActivityManager::SUBJECT_CARD_UPDATE_TITLE) { |
|
351 | $params['card'] = [ |
|
352 | 'type' => 'highlight', |
|
353 | 'id' => $subjectParams['after'], |
|
354 | 'name' => $subjectParams['after'] |
|
355 | ]; |
|
356 | } |
|
357 | return $params; |
|
358 | } |
|
359 |