From 2d0bc301bb303f6ce5411406cae5f47a4de4d6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Fri, 23 May 2025 16:19:48 +0200 Subject: [PATCH] =?UTF-8?q?[Fix]=20Correction=20d'un=20plantage=20au=20niv?= =?UTF-8?q?eau=20des=20m=C3=A9thodes=20addSource=20et=20addAction=20du=20D?= =?UTF-8?q?ataManager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ src/Data/DataManager.php | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bef7325..d9fc46b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.4.1 (23/05/2025) +------------------ + +- [Fix] Correction d'un plantage au niveau des méthodes addSource et addAction du DataManager + + 1.4.0 (16/04/2025) ------------------ diff --git a/src/Data/DataManager.php b/src/Data/DataManager.php index a52989d..dabcd29 100644 --- a/src/Data/DataManager.php +++ b/src/Data/DataManager.php @@ -141,7 +141,7 @@ class DataManager { $sources = $this->getSources(); $sources[] = $source; - $this->setOptions(self::OPTION_SOURCES, $sources); + $this->setOption(self::OPTION_SOURCES, $sources); return $this; } @@ -170,7 +170,7 @@ class DataManager { $actions = $this->getActions(); $actions[$name] = $libelle; - $this->setOptions(self::OPTION_ACTIONS, $actions); + $this->setOption(self::OPTION_ACTIONS, $actions); return $this; } -- GitLab