src/Service/Main/PostService.php
Method getPosts
has 20 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $page = 1,
int $perPage = 10,
string $search = null,
string $context = null,
string $after = null,
Method getPosts
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getPosts(
int $page = 1,
int $perPage = 10,
string $search = null,
string $context = null,