fix-phpstan-error-level-1 #1579

Merged
MrPetovan merged 34 commits from MrPetovan/friendica-addons:fix-phpstan-error-level-1 into develop 2024-12-12 22:37:43 +01:00
Showing only changes of commit 5f2a9e9891 - Show all commits

View file

@ -1563,7 +1563,7 @@ function bluesky_get_uri_class(string $uri): ?stdClass
}
$elements = explode(':', $uri);
if (empty($elements) || ($elements[0] != 'at')) {
if ($elements[0] !== 'at') {
$post = Post::selectFirstPost(['extid'], ['uri' => $uri]);
return bluesky_get_uri_class($post['extid'] ?? '');
}