Skip to content

Commit 4f90765

Browse files
authored
Fix retrun type of getColumn in Column_Renderer_Interface (#1713)
* Fix retrun type of getColumn in Column_Renderer_Interface Fixes multiple issues spotted by phpstan * Fix return type of getColumn * Set type for setColumn in Column_Renderer_Interface
1 parent f33522f commit 4f90765

File tree

1 file changed

+2
-2
lines changed
  • app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer

1 file changed

+2
-2
lines changed

app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Interface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ interface Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Interface
3838
* Set column for renderer
3939
*
4040
* @abstract
41-
* @param $column
41+
* @param Mage_Adminhtml_Block_Widget_Grid_Column $column
4242
* @return void
4343
*/
4444
public function setColumn($column);
@@ -47,7 +47,7 @@ public function setColumn($column);
4747
* Returns row associated with the renderer
4848
*
4949
* @abstract
50-
* @return void
50+
* @return Mage_Adminhtml_Block_Widget_Grid_Column
5151
*/
5252
public function getColumn();
5353

0 commit comments

Comments
 (0)