mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Upgrade to PHPStan 2.0
This commit is contained in:
parent
9a04f90bbd
commit
ca51b45f04
3 changed files with 12 additions and 9 deletions
|
@ -1899,7 +1899,10 @@ class Receiver
|
|||
if (in_array(-1, $object_data['receiver'])) {
|
||||
$object_data['unlisted'] = true;
|
||||
unset($object_data['receiver'][-1]);
|
||||
unset($object_data['reception_type'][-1]);
|
||||
|
||||
if (array_key_exists(-1, $object_data['reception_type'])) {
|
||||
unset($object_data['reception_type'][-1]);
|
||||
}
|
||||
}
|
||||
|
||||
return $object_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue