Showing 2 of 2 total issues
Factory
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Factory
{
protected $model;
protected $attributes;
protected $factory_repository;
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($related_model, $factoryLoader, $quantity, $foreign_key = null, $attributes = [])