Skip to content

Commit 35c879f

Browse files
committed
minor
1 parent 3a8ae94 commit 35c879f

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function getCustomer()
3737

3838
/**
3939
* @return string|void
40+
* @throws Mage_Core_Exception
4041
*/
4142
public function getGroupName()
4243
{
@@ -51,6 +52,7 @@ public function getGroupName()
5152
* Load Customer Log model
5253
*
5354
* @return Mage_Log_Model_Customer
55+
* @throws Mage_Core_Exception
5456
*/
5557
public function getCustomerLog()
5658
{
@@ -92,6 +94,10 @@ public function getStoreCreateDate()
9294
);
9395
}
9496

97+
/**
98+
* @throws Mage_Core_Exception
99+
* @throws Mage_Core_Model_Store_Exception
100+
*/
95101
public function getStoreCreateDateTimezone()
96102
{
97103
return Mage::app()->getStore($this->getCustomer()->getStoreId())
@@ -102,6 +108,7 @@ public function getStoreCreateDateTimezone()
102108
* Get customer last login date
103109
*
104110
* @return string
111+
* @throws Mage_Core_Exception
105112
*/
106113
public function getLastLoginDate()
107114
{
@@ -112,6 +119,7 @@ public function getLastLoginDate()
112119

113120
/**
114121
* @return string
122+
* @throws Mage_Core_Exception
115123
*/
116124
public function getStoreLastLoginDate()
117125
{
@@ -127,6 +135,10 @@ public function getStoreLastLoginDate()
127135
return Mage::helper('customer')->__('Never');
128136
}
129137

138+
/**
139+
* @throws Mage_Core_Model_Store_Exception
140+
* @throws Mage_Core_Exception
141+
*/
130142
public function getStoreLastLoginDateTimezone()
131143
{
132144
return Mage::app()->getStore($this->getCustomer()->getStoreId())
@@ -135,6 +147,7 @@ public function getStoreLastLoginDateTimezone()
135147

136148
/**
137149
* @return string
150+
* @throws Mage_Core_Exception
138151
*/
139152
public function getCurrentStatus()
140153
{
@@ -151,6 +164,7 @@ public function getCurrentStatus()
151164

152165
/**
153166
* @return string
167+
* @throws Mage_Core_Exception
154168
*/
155169
public function getIsConfirmedStatus()
156170
{
@@ -166,6 +180,10 @@ public function getIsConfirmedStatus()
166180
return Mage::helper('customer')->__('Not confirmed, can login');
167181
}
168182

183+
/**
184+
* @throws Mage_Core_Exception
185+
* @throws Mage_Core_Model_Store_Exception
186+
*/
169187
public function getCreatedInStore()
170188
{
171189
return Mage::app()->getStore($this->getCustomer()->getStoreId())->getName();
@@ -178,6 +196,7 @@ public function getStoreId()
178196

179197
/**
180198
* @return string
199+
* @throws Mage_Core_Exception
181200
*/
182201
public function getBillingAddressHtml()
183202
{

app/code/core/Mage/Log/Model/Customer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
* @method Mage_Log_Model_Resource_Customer _getResource()
1616
* @method int getCustomerId()
17+
* @method string getLastVisitAt()
1718
* @method string getLoginAt()
1819
* @method string getLogoutAt()
1920
* @method Mage_Log_Model_Resource_Customer getResource()

0 commit comments

Comments
 (0)