src/Entity/Book.php
Book
has 38 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class Book extends Entity
{
const _OWN_TYPE = '';
const TYPE_AUDIO = 'audio';
File Book.php
has 300 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace Bookboon\Api\Entity;
use Bookboon\Api\Bookboon;
Method search
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Bookboon $bookboon,
string $query,
int $limit = 10,
int $offset = 0,
array $bookTypes = ['professional']
Method recommendations
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Bookboon $bookboon,
array $bookIds = [],
int $limit = 5,
array $bookTypes = ['professional'],
array $params = []