Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Nov 21, 2024
1 parent 76bba42 commit d1416cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ValidationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function validatePublication(array $publication): array

$publicationType = (new PublicationType())->hydrate($publicationType);

if(Uuid::isValid($publicationTypeId)) {
if (Uuid::isValid($publicationTypeId) === true) {
$publicationType->setUuid($publicationTypeId);
}

Expand Down

0 comments on commit d1416cd

Please sign in to comment.