Skip to content

Commit 6c5ca0f

Browse files
authored
Return $this if able (#5266)
* Return $this if able * ~ fix style * ~ change setIsLast
1 parent bb6f8b3 commit 6c5ca0f

File tree

128 files changed

+217
-219
lines changed

Some content is hidden

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

128 files changed

+217
-219
lines changed

app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Grouped.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function getAssociatedProducts()
7575
/**
7676
* Set preconfigured values to grouped associated products
7777
*
78-
* @return Mage_Catalog_Block_Product_View_Type_Grouped
78+
* @return $this
7979
* @throws Mage_Core_Model_Store_Exception
8080
*/
8181
public function setPreconfiguredValue()

app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Related.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function _addColumnFilterToCollection($column)
7474
/**
7575
* Prepare collection
7676
*
77-
* @return Mage_Adminhtml_Block_Widget_Grid
77+
* @return $this
7878
*/
7979
protected function _prepareCollection()
8080
{
@@ -109,7 +109,7 @@ public function isReadonly()
109109
/**
110110
* Add columns to grid
111111
*
112-
* @return Mage_Adminhtml_Block_Widget_Grid
112+
* @return $this
113113
*/
114114
protected function _prepareColumns()
115115
{

app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Upsell.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function isReadonly()
8484
/**
8585
* Prepare collection
8686
*
87-
* @return Mage_Adminhtml_Block_Widget_Grid
87+
* @return $this
8888
*/
8989
protected function _prepareCollection()
9090
{
@@ -109,7 +109,7 @@ protected function _prepareCollection()
109109
/**
110110
* Add columns to grid
111111
*
112-
* @return Mage_Adminhtml_Block_Widget_Grid
112+
* @return $this
113113
*/
114114
protected function _prepareColumns()
115115
{

app/code/core/Mage/Adminhtml/Block/Catalog/Product/Widget/Chooser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ protected function _addColumnFilterToCollection($column)
169169
/**
170170
* Prepare products collection, defined collection filters (category, product type)
171171
*
172-
* @return Mage_Adminhtml_Block_Widget_Grid
172+
* @return $this
173173
*/
174174
protected function _prepareCollection()
175175
{
@@ -203,7 +203,7 @@ protected function _prepareCollection()
203203
/**
204204
* Prepare columns for products grid
205205
*
206-
* @return Mage_Adminhtml_Block_Widget_Grid
206+
* @return $this
207207
*/
208208
protected function _prepareColumns()
209209
{

app/code/core/Mage/Adminhtml/Block/Cms/Block/Widget/Chooser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function (grid, event) {
8181
/**
8282
* Prepare Cms static blocks collection
8383
*
84-
* @return Mage_Adminhtml_Block_Widget_Grid
84+
* @return $this
8585
*/
8686
protected function _prepareCollection()
8787
{
@@ -94,7 +94,7 @@ protected function _prepareCollection()
9494
/**
9595
* Prepare columns for Cms blocks grid
9696
*
97-
* @return Mage_Adminhtml_Block_Widget_Grid
97+
* @return $this
9898
*/
9999
protected function _prepareColumns()
100100
{

app/code/core/Mage/Adminhtml/Block/Cms/Page/Widget/Chooser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function (grid, event) {
8080
/**
8181
* Prepare pages collection
8282
*
83-
* @return Mage_Adminhtml_Block_Widget_Grid
83+
* @return $this
8484
*/
8585
protected function _prepareCollection()
8686
{
@@ -95,7 +95,7 @@ protected function _prepareCollection()
9595
/**
9696
* Prepare columns for pages grid
9797
*
98-
* @return Mage_Adminhtml_Block_Widget_Grid
98+
* @return $this
9999
*/
100100
protected function _prepareColumns()
101101
{

app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tabs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct()
2323
}
2424

2525
/**
26-
* @return Mage_Adminhtml_Block_Widget_Tabs
26+
* @return $this
2727
* @throws Exception
2828
*/
2929
protected function _beforeToHtml()

app/code/core/Mage/Adminhtml/Block/Newsletter/Queue/Preview/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Mage_Adminhtml_Block_Newsletter_Queue_Preview_Form extends Mage_Adminhtml_
1717
/**
1818
* Preparing from for revision page
1919
*
20-
* @return Mage_Adminhtml_Block_Widget_Form
20+
* @return $this
2121
*/
2222
protected function _prepareForm()
2323
{

app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct()
3131
/**
3232
* Prepare collection for grid
3333
*
34-
* @return Mage_Adminhtml_Block_Widget_Grid
34+
* @return $this
3535
* @throws Exception
3636
*/
3737
protected function _prepareCollection()

app/code/core/Mage/Adminhtml/Block/Newsletter/Template/Preview/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Mage_Adminhtml_Block_Newsletter_Template_Preview_Form extends Mage_Adminht
1717
/**
1818
* Preparing from for revision page
1919
*
20-
* @return Mage_Adminhtml_Block_Widget_Form
20+
* @return $this
2121
*/
2222
protected function _prepareForm()
2323
{

0 commit comments

Comments
 (0)