Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrykazak committed Dec 8, 2018
1 parent ad12a75 commit 969ad08
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

/**
* Class DK_CustomerIP_Block_Adminhtml_Customer_Edit_Tab_Abstract
*/
abstract class DK_CustomerIP_Block_Adminhtml_Customer_Edit_Tab_Abstract
extends Mage_Adminhtml_Block_Template
{
Expand All @@ -8,6 +11,9 @@ abstract class DK_CustomerIP_Block_Adminhtml_Customer_Edit_Tab_Abstract
*/
private $customer;

/**
* @var null|DK_CustomerIP_Model_Info
*/
private $collection = null;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ class DK_CustomerIP_Model_System_Config_Source_Service

protected static $options = [];

/**
* @return array
*/
public function toOptionArray()
{
if (!self::$options) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ public function updateAction()
$this->getResponse()
->clearHeaders()
->setHeader('Content-type','application/json', true);

$this->getResponse()->setBody(
Zend_Json_Encoder::encode($response)
);

return;
}
}

return;
}
}

0 comments on commit 969ad08

Please sign in to comment.