mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
Added more type-hints
This commit is contained in:
parent
a8a21c7fb6
commit
c2e889cfae
7 changed files with 96 additions and 91 deletions
|
@ -117,7 +117,7 @@ class APContact
|
|||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public static function getByURL($url, $update = null)
|
||||
public static function getByURL(string $url, $update = null)
|
||||
{
|
||||
if (empty($url) || Network::isUrlBlocked($url)) {
|
||||
Logger::info('Domain is blocked', ['url' => $url]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue