| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function execute($html, CampaignSend $pendingSend) |
||
| 13 | { |
||
| 14 | $subscription = $pendingSend->subscription; |
||
| 15 | |||
| 16 | $html = str_replace('::campaignSendUuid::', $pendingSend->uuid, $html); |
||
| 17 | $html = str_replace('::subscriptionUuid::', $subscription->uuid, $html); |
||
| 18 | $html = str_replace('::subscriber.uuid::', $subscription->subscriber->uuid, $html); |
||
| 19 | $html = str_replace('::unsubscribeUrl::', action(UnsubscribeController::class, $subscription->uuid), $html); |
||
| 20 | |||
| 21 | $html = $this->replaceSubscriberAttributes($html, $subscription->subscriber); |
||
| 22 | |||
| 23 | return $html; |
||
| 24 | } |
||
| 25 | |||
| 36 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.