build: upgrade CI4 + php and js dependencies to latest

closes #396
This commit is contained in:
Yassine Doghri 2023-11-15 16:17:43 +00:00
commit 3d5fc14d5e
30 changed files with 1676 additions and 1249 deletions

View file

@ -25,7 +25,7 @@ class Component implements ComponentInterface
helper('viewcomponents');
// overwrite default attributes if set
$this->attributes = array_merge($this->attributes, $attributes);
$this->attributes = [...$this->attributes, ...$attributes];
if ($attributes !== []) {
$this->hydrate($attributes);