Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2023-04-14 20:56:43 +02:00 committed by GitHub
parent 78b969cb19
commit c81a9d1ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -225,7 +225,7 @@ class ClientToServer
case 'as:audience':
$type = Receiver::TARGET_AUDIENCE;
break;
}
}
$receiver_list = JsonLD::fetchElementArray($object, $element, '@id');
if (empty($receiver_list)) {
continue;