| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function render(): string |
||
| 41 | { |
||
| 42 | $registration = $this->arguments['registration']; |
||
| 43 | $result = ''; |
||
| 44 | if (is_a($registration, Registration::class)) { |
||
| 45 | $result = $this->hashService->hmac('reg-' . $registration->getUid(), HashScope::RegistrationUid->value); |
||
| 46 | } |
||
| 47 | |||
| 48 | return $result; |
||
| 49 | } |
||
| 51 |