Skip to content

Commit

Permalink
Change setData -> setDataInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
kunjara committed Jul 25, 2017
1 parent f121b08 commit 3086541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Plot/Chakra/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Plot/Chakra/Style/AbstractChakra.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3086541

Please sign in to comment.