| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Publication extends Model |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Hold the publication details. |
||
| 9 | * |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $list = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Add unknown attributes to the current details array. |
||
| 16 | * |
||
| 17 | * @param $publication |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public function add(array $publication): array |
||
| 31 |