mirror of
https://github.com/friendica/friendica
synced 2025-04-24 06:30:13 +00:00
Ops, bad type-hint here
This commit is contained in:
parent
2c5595c358
commit
c351099c5a
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ class Receiver
|
||||||
* @return bool with receivers (user id)
|
* @return bool with receivers (user id)
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
private static function isValidReceiverForActor(array $contact, string $tags): bool
|
private static function isValidReceiverForActor(array $contact, array $tags): bool
|
||||||
{
|
{
|
||||||
// Are we following the contact? Then this is a valid receiver
|
// Are we following the contact? Then this is a valid receiver
|
||||||
if (in_array($contact['rel'], [Contact::SHARING, Contact::FRIEND])) {
|
if (in_array($contact['rel'], [Contact::SHARING, Contact::FRIEND])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue