Skip to content

Commit 7427284

Browse files
authored
added class vars to templates (#4322)
1 parent 9fc0d23 commit 7427284

File tree

41 files changed

+93
-668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+93
-668
lines changed

.phpstan.dist.baseline.neon

Lines changed: 6 additions & 646 deletions
Large diffs are not rendered by default.

app/code/core/Mage/Captcha/Block/Captcha/Zend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function _toHtml()
7171
/**
7272
* Returns captcha model
7373
*
74-
* @return Mage_Captcha_Model_Interface
74+
* @return Mage_Captcha_Model_Zend
7575
*/
7676
public function getCaptchaModel()
7777
{

app/code/core/Mage/Weee/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getAmount($product, $shipping = null, $billing = null, $website
171171
* Returns display type for price accordingly to current zone
172172
*
173173
* @param Mage_Catalog_Model_Product $product
174-
* @param array|null $compareTo
174+
* @param array|int|null $compareTo
175175
* @param string $zone
176176
* @param Mage_Core_Model_Store $store
177177
* @return bool|int

app/design/adminhtml/default/default/template/captcha/zend.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
?>
1616
<?php $captcha = $this->getCaptchaModel() ?>
17-
<?php /** @var Mage_Core_Block_Captcha_Zend $this */ ?>
17+
<?php /** @var Mage_Captcha_Block_Captcha_Zend $this */ ?>
1818
<div class="clear"></div>
1919
<div class="captcha">
2020
<div class="captcha-input input-box input-left">

app/design/adminhtml/default/default/template/catalog/category/edit.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
?>
1616
<?php
1717
/**
18-
* Template for Mage_Adminhtml_Block_Catalog_Category_Cointainer
18+
* Template for Mage_Adminhtml_Block_Catalog_Category_Container
19+
*
20+
* @var Mage_Adminhtml_Block_Catalog_Category_Edit $this
1921
*/
2022
?>
2123

app/design/adminhtml/default/default/template/catalog/category/tree.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Category_Tree $this */
1517
?>
1618
<div class="categories-side-col">
1719
<div class="content-header">

app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main $this */
1517
?>
1618
<div class="content-header">
1719
<table cellspacing="0">

app/design/adminhtml/default/default/template/catalog/product/attribute/set/toolbar/main.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main $this */
1517
?>
1618
<div class="content-header">
1719
<table cellspacing="0">

app/design/adminhtml/default/default/template/catalog/product/edit.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
<?php
1717
/**
1818
* Template for Mage_Adminhtml_Block_Catalog_Product_Edit
19+
*
20+
* @var Mage_Adminhtml_Block_Catalog_Product_Edit $this
1921
*/
2022
?>
2123

22-
23-
2424
<div class="content-header">
2525
<h3 class="icon-head head-products"><?php echo $this->getHeader() ?></h3>
2626
<p class="content-buttons form-buttons"><?php echo $this->getBackButtonHtml() ?>

app/design/adminhtml/default/default/template/catalog/product/edit/categories.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Categories $this */
1517
?>
1618
<div class="entry-edit">
1719
<div class="entry-edit-head">

app/design/adminhtml/default/default/template/catalog/product/edit/options.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options $this */
1517
?>
1618
<div class="entry-edit custom-options product-custom-options">
1719
<div id="dynamic-price-warrning" style="display:none">

app/design/adminhtml/default/default/template/catalog/product/edit/options/option.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2019-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Option $this */
1517
?>
1618
<?php echo $this->getTemplatesHtml() ?>
1719

app/design/adminhtml/default/default/template/catalog/product/edit/options/type/date.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Date $this */
1517
?>
1618
<script type="text/javascript">
1719

app/design/adminhtml/default/default/template/catalog/product/edit/options/type/file.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_File $this */
1517
?>
1618
<script type="text/javascript">
1719

app/design/adminhtml/default/default/template/catalog/product/edit/options/type/select.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Select $this */
1517
?>
1618

1719
<script type="text/javascript">

app/design/adminhtml/default/default/template/catalog/product/edit/options/type/text.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text $this */
1517
?>
1618
<script type="text/javascript">
1719
//<![CDATA[

app/design/adminhtml/default/default/template/catalog/product/edit/websites.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Websites $this */
1517
?>
1618
<div class="entry-edit">
1719
<div class="entry-edit-head">

app/design/adminhtml/default/default/template/catalog/product/js.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Js $this */
1517
?>
1618
<script type="text/javascript">
1719
//<![CDATA[

app/design/adminhtml/default/default/template/catalog/product/price.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
*/
2424
?>
2525
<?php
26-
/** @var $_coreHelper Mage_Core_Helper_Data */
26+
/** @var Mage_Core_Helper_Data $_coreHelper */
2727
$_coreHelper = $this->helper('core');
28-
/** @var $_weeeHelper Mage_Weee_Helper_Data */
28+
/** @var Mage_Weee_Helper_Data $_weeeHelper */
2929
$_weeeHelper = $this->helper('weee');
30-
/** @var $_taxHelper Mage_Tax_Helper_Data */
30+
/** @var Mage_Tax_Helper_Data $_taxHelper */
3131
$_taxHelper = $this->helper('tax');
3232

3333
$_product = $this->getProduct();

app/design/adminhtml/default/default/template/catalog/product/tab/inventory.phtml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2020-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Inventory $this */
1517
?>
1618
<?php if ($this->isReadonly()):?>
1719
<?php $_readonly = ' disabled="disabled" ';?>
@@ -34,7 +36,7 @@
3436
</select>
3537
<input type="hidden" id="inventory_manage_stock_default" value="<?php echo $this->getDefaultConfigValue('manage_stock'); ?>" />
3638

37-
<?php $_checked = ($this->getFieldValue('use_config_manage_stock') || $this->IsNew()) ? 'checked="checked"' : '' ?>
39+
<?php $_checked = ($this->getFieldValue('use_config_manage_stock') || $this->isNew()) ? 'checked="checked"' : '' ?>
3840
<input type="checkbox" id="inventory_use_config_manage_stock" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_manage_stock]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?>/>
3941
<label for="inventory_use_config_manage_stock" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
4042
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_manage_stock'), $('inventory_use_config_manage_stock').parentNode);</script><?php endif ?></td>
@@ -57,7 +59,7 @@
5759
<td class="label"><label for="inventory_min_qty"><?php echo Mage::helper('catalog')->__('Qty for Item\'s Status to Become Out of Stock') ?></label></td>
5860
<td class="value"><input type="text" class="input-text validate-number" id="inventory_min_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][min_qty]" value="<?php echo $this->getFieldValue('min_qty')*1 ?>" <?php echo $_readonly;?>/>
5961

60-
<?php $_checked = ($this->getFieldValue('use_config_min_qty') || $this->IsNew()) ? 'checked="checked"' : '' ?>
62+
<?php $_checked = ($this->getFieldValue('use_config_min_qty') || $this->isNew()) ? 'checked="checked"' : '' ?>
6163
<input type="checkbox" id="inventory_use_config_min_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_min_qty]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" <?php echo $_readonly;?> />
6264
<label for="inventory_use_config_min_qty" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
6365
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_min_qty'), $('inventory_use_config_min_qty').parentNode);</script><?php endif ?></td>
@@ -68,7 +70,7 @@
6870
<td class="label"><label for="inventory_min_sale_qty"><?php echo Mage::helper('catalog')->__('Minimum Qty Allowed in Shopping Cart') ?></label></td>
6971
<td class="value"><input type="text" class="input-text validate-number" id="inventory_min_sale_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][min_sale_qty]" value="<?php echo (bool)$this->getProduct()->getId() ? $this->getFieldValue('min_sale_qty')*1 : Mage::helper('catalog/product')->getDefaultProductValue('min_sale_qty', $this->getProduct()->getTypeId()) ?>" <?php echo $_readonly ?>/>
7072

71-
<?php $_checked = ($this->getFieldValue('use_config_min_sale_qty') || $this->IsNew()) ? 'checked="checked"' : '' ?>
73+
<?php $_checked = ($this->getFieldValue('use_config_min_sale_qty') || $this->isNew()) ? 'checked="checked"' : '' ?>
7274
<input type="checkbox" id="inventory_use_config_min_sale_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_min_sale_qty]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?> />
7375
<label for="inventory_use_config_min_sale_qty" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
7476
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_min_sale_qty'), $('inventory_use_config_min_sale_qty').parentNode);</script><?php endif ?></td>
@@ -79,7 +81,7 @@
7981
<td class="label"><label for="inventory_max_sale_qty"><?php echo Mage::helper('catalog')->__('Maximum Qty Allowed in Shopping Cart') ?></label></td>
8082
<td class="value"><input type="text" class="input-text validate-number" id="inventory_max_sale_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][max_sale_qty]" value="<?php echo $this->getFieldValue('max_sale_qty')*1 ?>" <?php echo $_readonly;?> />
8183

82-
<?php $_checked = ($this->getFieldValue('use_config_max_sale_qty') || $this->IsNew()) ? 'checked="checked"' : '' ?>
84+
<?php $_checked = ($this->getFieldValue('use_config_max_sale_qty') || $this->isNew()) ? 'checked="checked"' : '' ?>
8385
<input type="checkbox" id="inventory_use_config_max_sale_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_max_sale_qty]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?> />
8486
<label for="inventory_use_config_max_sale_qty" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
8587
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_max_sale_qty'), $('inventory_use_config_max_sale_qty').parentNode);</script><?php endif ?></td>
@@ -120,7 +122,7 @@
120122
<?php endforeach ?>
121123
</select>
122124

123-
<?php $_checked = ($this->getFieldValue('use_config_backorders') || $this->IsNew()) ? 'checked="checked"' : '' ?>
125+
<?php $_checked = ($this->getFieldValue('use_config_backorders') || $this->isNew()) ? 'checked="checked"' : '' ?>
124126
<input type="checkbox" id="inventory_use_config_backorders" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_backorders]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?> />
125127
<label for="inventory_use_config_backorders" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
126128
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_backorders'), $('inventory_use_config_backorders').parentNode);</script><?php endif ?></td>
@@ -130,7 +132,7 @@
130132
<td class="label"><label for="inventory_notify_stock_qty"><?php echo Mage::helper('catalog')->__('Notify for Quantity Below') ?></label></td>
131133
<td class="value"><input type="text" class="input-text validate-number" id="inventory_notify_stock_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][notify_stock_qty]" value="<?php echo $this->getFieldValue('notify_stock_qty')*1 ?>" <?php echo $_readonly;?>/>
132134

133-
<?php $_checked = ($this->getFieldValue('use_config_notify_stock_qty') || $this->IsNew()) ? 'checked="checked"' : '' ?>
135+
<?php $_checked = ($this->getFieldValue('use_config_notify_stock_qty') || $this->isNew()) ? 'checked="checked"' : '' ?>
134136
<input type="checkbox" id="inventory_use_config_notify_stock_qty" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_notify_stock_qty]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?>/>
135137
<label for="inventory_use_config_notify_stock_qty" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
136138
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_notify_stock_qty'), $('inventory_use_config_notify_stock_qty').parentNode);</script><?php endif ?></td>
@@ -145,7 +147,7 @@
145147
</select>
146148
<input type="hidden" id="inventory_enable_qty_increments_default" value="<?php echo $this->getDefaultConfigValue('enable_qty_increments'); ?>" />
147149

148-
<?php $_checked = ($this->getFieldValue('use_config_enable_qty_increments') || $this->IsNew()) ? 'checked="checked"' : '' ?>
150+
<?php $_checked = ($this->getFieldValue('use_config_enable_qty_increments') || $this->isNew()) ? 'checked="checked"' : '' ?>
149151
<input type="checkbox" id="inventory_use_config_enable_qty_increments" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_enable_qty_increments]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?>/>
150152
<label for="inventory_use_config_enable_qty_increments" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
151153
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_enable_qty_increments'), $('inventory_use_config_enable_qty_increments').parentNode);</script><?php endif ?></td>
@@ -155,7 +157,7 @@
155157
<td class="label"><label for="inventory_qty_increments"><?php echo Mage::helper('catalog')->__('Qty Increments') ?></label></td>
156158
<td class="value">
157159
<input type="text" class="input-text validate-digits" id="inventory_qty_increments" name="<?php echo $this->getFieldSuffix() ?>[stock_data][qty_increments]" value="<?php echo $this->getFieldValue('qty_increments')*1 ?>" <?php echo $_readonly;?>/>
158-
<?php $_checked = ($this->getFieldValue('use_config_qty_increments') || $this->IsNew()) ? 'checked="checked"' : '' ?>
160+
<?php $_checked = ($this->getFieldValue('use_config_qty_increments') || $this->isNew()) ? 'checked="checked"' : '' ?>
159161
<input type="checkbox" id="inventory_use_config_qty_increments" name="<?php echo $this->getFieldSuffix() ?>[stock_data][use_config_qty_increments]" value="1" <?php echo $_checked ?> onclick="toggleValueElements(this, this.parentNode);" class="checkbox" <?php echo $_readonly;?>/>
160162
<label for="inventory_use_config_qty_increments" class="normal"><?php echo Mage::helper('catalog')->__('Use Config Settings') ?></label>
161163
<?php if (!$this->isReadonly()):?><script type="text/javascript">toggleValueElements($('inventory_use_config_qty_increments'), $('inventory_use_config_qty_increments').parentNode);</script><?php endif ?></td>

app/design/adminhtml/default/default/template/customer/edit/tab/account/form/renderer/group.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Customer_Edit_Renderer_Attribute_Group $this */
1517
?>
1618
<?php
1719
$_element = $this->getElement();

app/design/adminhtml/default/default/template/customer/tab/addresses.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2017-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Customer_Edit_Tab_Addresses $this */
1517
?>
1618
<!-- Addresses list -->
1719
<table cellspacing="0" class="form-edit">

app/design/adminhtml/default/default/template/customer/tab/newsletter.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Customer_Edit_Tab_Newsletter $this */
1517
?>
1618
<div class="entry-edit">
1719
<?php echo $this->getFormObject()->getHtml() ?>

app/design/adminhtml/default/default/template/customer/tab/view/sales.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Customer_Edit_Tab_View_Sales $this */
1517
?>
1618
<div class="entry-edit">
1719
<div class="entry-edit-head"><h4 class="icon-head head-customer-sales-statistics"><?php echo Mage::helper('customer')->__('Sales Statistics') ?></h4></div>

app/design/adminhtml/default/default/template/customer/tab/wishlist.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2022 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Customer_Edit_Tab_Wishlist $this */
1517
?>
1618
<?php echo $this->getGridParentHtml() ?>
1719
<?php if($this->canDisplayContainer()): ?>

app/design/adminhtml/default/default/template/forgotpassword.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Template $this */
1517
?>
1618
<!DOCTYPE html>
1719
<html lang="en">

app/design/adminhtml/default/default/template/login.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Template $this */
1517
?>
1618
<!DOCTYPE html>
1719
<html lang="en">

app/design/adminhtml/default/default/template/page.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Page $this */
1517
?>
1618
<?php /*{
1719
"label":"Root page layout",

app/design/adminhtml/default/default/template/resetforgottenpassword.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
1313
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
1414
*/
15+
16+
/** @var Mage_Adminhtml_Block_Template $this */
1517
?>
1618
<!DOCTYPE html>
1719
<html lang="en">

app/design/adminhtml/default/default/template/widget/accordion.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<?php
1717
/**
1818
* Template for Mage_Adminhtml_Block_Widget_Accordion
19+
*
20+
* @var Mage_Adminhtml_Block_Customer_Edit_Tab_View_Accordion $this
1921
*/
2022
?>
2123
<dl id="tab_content_<?php echo $this->getHtmlId() ?>" name="tab_content_<?php echo $this->getHtmlId() ?>" class="accordion">

0 commit comments

Comments
 (0)