Showing 4 of 4 total issues
SocialClient
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SocialClient
{
use Macroable, Conditionable;
protected string $relay;
File SocialClient.php
has 263 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
declare(strict_types=1);
namespace Revolution\Nostr\Social;
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public string $name = '',
public string $display_name = '',
public string $about = '',
public string $picture = '',
public string $banner = '',
Method notes
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function notes(array $authors, array $kinds = [Kind::Text, Kind::Article], ?int $since = null, ?int $until = null, ?int $limit = null): array