Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Dec 29, 2023
1 parent 85496d6 commit 89b5103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/ExpiredVideoNotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private function generateDataForMultimediaObject(string $multimediaObjectId): ar
$mmObj = $this->getMultimediaObjectById($multimediaObjectId);

$renewMultimediaObjectToken = $mmObj->getProperty($this->expiredVideoConfigurationService->getMultimediaObjectPropertyRenewKey());
if (!$renewMultimediaObjectToken || empty($renewMultimediaObjectToken)) {
if (empty($renewMultimediaObjectToken)) {
$renewMultimediaObjectToken = TokenUtils::generateExpiredToken();
}

Expand Down

0 comments on commit 89b5103

Please sign in to comment.