Skip to content

Commit 3dcd514

Browse files
r-brownCopilot
andauthored
Update vo/ValidationParameters.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 51536e2 commit 3dcd514

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

vo/ValidationParameters.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ public function setLicenseeSecret(string $licenseeSecret): ValidationParameters
111111
/**
112112
* @deprecated use 'NodeLocked' licensing model instead
113113
*/
114-
public function getLicenseeSecret(): mixed
114+
public function getLicenseeSecret(): ?string
115115
{
116-
return $this->getLicenseeProperty(Constants::LICENSE_PROP_LICENSEE_SECRET);
116+
$value = $this->getLicenseeProperty(Constants::LICENSE_PROP_LICENSEE_SECRET);
117+
return is_string($value) ? $value : null;
117118
}
118119

119120
public function getParameters(): array

0 commit comments

Comments
 (0)