mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Address some PHP 8.1 deprecation notices
- Replace a strstr call by strpos in Model\APContact - Simplify conditions in Protocol\DFRN - Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1331012289
This commit is contained in:
parent
6c2f42ed03
commit
150c0e0750
3 changed files with 7 additions and 6 deletions
|
@ -226,6 +226,7 @@ class Introduction implements \JsonSerializable
|
|||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return $this->toArray();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue