From 51ebe34e4b17a47f10832438ce626b619f29d233 Mon Sep 17 00:00:00 2001 From: Gildonei Mendes Anacleto Junior Date: Tue, 25 Sep 2018 10:18:05 -0300 Subject: [PATCH] Deprecated use of config On line 65 was replaced $this->config with $this->setConfig to fix deprecated use of this method with new Cake 3.6 --- src/Model/Behavior/CreatorModifierBehavior.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Behavior/CreatorModifierBehavior.php b/src/Model/Behavior/CreatorModifierBehavior.php index ce3a777..3e7cec5 100644 --- a/src/Model/Behavior/CreatorModifierBehavior.php +++ b/src/Model/Behavior/CreatorModifierBehavior.php @@ -62,7 +62,7 @@ class CreatorModifierBehavior extends Behavior { */ public function initialize(array $config) { if (isset($config['events'])) { - $this->config('events', $config['events'], false); + $this->setConfig('events', $config['events'], false); } }