| Total Complexity | 3 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class AppleDevicesProvider implements MetadataProviderInterface |
||
| 11 | { |
||
| 12 | public function getMetadata(RegistrationResultInterface $registrationResult): ?MetadataInterface |
||
| 13 | { |
||
| 14 | if ($registrationResult->getAttestationObject()->getFormat() === AppleAttestationStatement::FORMAT_ID) { |
||
| 15 | return new AppleDeviceMetadata(); |
||
| 16 | } |
||
| 17 | return null; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getDescription(): string |
||
| 23 | } |
||
| 24 | } |
||
| 25 |