psalm happiness
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
8ec640d14a
commit
8235d90ecc
|
@ -1769,9 +1769,6 @@
|
|||
</TooManyArguments>
|
||||
</file>
|
||||
<file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
|
||||
<InvalidArrayOffset occurrences="1">
|
||||
<code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code>
|
||||
</InvalidArrayOffset>
|
||||
<InvalidScalarArgument occurrences="1">
|
||||
<code>$this->retries + 1</code>
|
||||
</InvalidScalarArgument>
|
||||
|
|
|
@ -142,7 +142,7 @@ class AccountManager implements IAccountManager {
|
|||
}
|
||||
|
||||
protected function sanitizeLength(array &$propertyData, bool $throwOnData = false): void {
|
||||
if (isset($propertyData) && isset($propertyData['value']) && strlen($propertyData['value']) > 2048) {
|
||||
if (isset($propertyData['value']) && strlen($propertyData['value']) > 2048) {
|
||||
if ($throwOnData) {
|
||||
throw new \InvalidArgumentException();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue