From 308654189264dc7c74bba675e2180adea7007e76 Mon Sep 17 00:00:00 2001 From: Vladislav Pugachev Date: Tue, 25 Jul 2017 23:55:08 +0400 Subject: [PATCH] Change setData -> setDataInstance --- src/Plot/Chakra/Renderer.php | 2 +- src/Plot/Chakra/Style/AbstractChakra.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plot/Chakra/Renderer.php b/src/Plot/Chakra/Renderer.php index b2ea35a..efb17d2 100644 --- a/src/Plot/Chakra/Renderer.php +++ b/src/Plot/Chakra/Renderer.php @@ -70,7 +70,7 @@ public function __construct($Renderer) */ public function drawChakra(\Jyotish\Base\Data $Data, $x, $y, array $options = null) { - $this->setData($Data); + $this->setDataInstance($Data); $this->setOptions($options); $chakraStyle = 'Jyotish\Draw\Plot\Chakra\Style\\' . ucfirst($this->optionChakraStyle); diff --git a/src/Plot/Chakra/Style/AbstractChakra.php b/src/Plot/Chakra/Style/AbstractChakra.php index 29c26f0..97455af 100644 --- a/src/Plot/Chakra/Style/AbstractChakra.php +++ b/src/Plot/Chakra/Style/AbstractChakra.php @@ -129,7 +129,7 @@ abstract class AbstractChakra */ public function __construct(\Jyotish\Base\Data $Data) { - $this->setData($Data); + $this->setDataInstance($Data); $this->Analysis = new Analysis($Data); }