src/Kbin/Entry/DTO/EntryResponseDto.php
Method create
has 25 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $id = null,
MagazineSmallResponseDto $magazine = null,
UserSmallResponseDto $user = null,
DomainDto $domain = null,
string $title = null,
Method jsonSerialize
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function jsonSerialize(): mixed
{
if (null === self::$keysToDelete) {
self::$keysToDelete = [
'domain',
Method create
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function create(
int $id = null,
MagazineSmallResponseDto $magazine = null,
UserSmallResponseDto $user = null,
DomainDto $domain = null,