mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
Changes:
- as @MrPetovan pointed out, $actor can be NULL earlier and used later as NULL - added some missing type-hints - added missing documentation - the added @TODO points out to avoid true|false|null for a boolean
This commit is contained in:
parent
0c12e947dd
commit
752953e472
3 changed files with 24 additions and 9 deletions
|
@ -116,6 +116,7 @@ class APContact
|
|||
* @return array profile array
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
* @todo Rewrite parameter $update to avoid true|false|null (boolean is binary, null adds a third case)
|
||||
*/
|
||||
public static function getByURL(string $url, $update = null): array
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue