Skip to content

Commit cea740b

Browse files
Bump phpstan/phpstan from 1.10.67 to 1.11.2 (#9)
* Bump phpstan/phpstan from 1.10.67 to 1.11.2 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.67 to 1.11.2. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](phpstan/phpstan@1.10.67...1.11.2) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fixes phpstan --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sven Reichel <[email protected]>
1 parent 0f22e40 commit cea740b

File tree

15 files changed

+24
-16
lines changed

15 files changed

+24
-16
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
*/
2020
class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Ajax_Serializer extends Mage_Core_Block_Template
2121
{
22+
/**
23+
* @return $this
24+
*/
2225
public function _construct()
2326
{
2427
parent::_construct();

app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public function getOrderOptions($product = null)
633633
* Save type related data
634634
*
635635
* @param Mage_Catalog_Model_Product $product
636-
* @return Mage_Catalog_Model_Product_Type_Abstract
636+
* @return $this
637637
*/
638638
public function save($product = null)
639639
{

app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Mage_CatalogIndex_Model_Indexer_Eav extends Mage_CatalogIndex_Model_Indexe
3434
protected function _construct()
3535
{
3636
$this->_init('catalogindex/indexer_eav');
37-
return parent::_construct();
37+
parent::_construct();
3838
}
3939

4040
/**

app/code/core/Mage/CatalogIndex/Model/Indexer/Minimalprice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function _construct()
5454
$this->_currencyModel = Mage::getModel('directory/currency');
5555
$this->_customerGroups = Mage::getModel('customer/group')->getCollection();
5656

57-
return parent::_construct();
57+
parent::_construct();
5858
}
5959

6060
/**

app/code/core/Mage/CatalogIndex/Model/Indexer/Tierprice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function _construct()
6060
$this->_currencyModel = Mage::getModel('directory/currency');
6161
$this->_customerGroups = Mage::getModel('customer/group')->getCollection();
6262

63-
return parent::_construct();
63+
parent::_construct();
6464
}
6565

6666
/**

app/code/core/Mage/Core/Controller/Varien/Action.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Cont
130130
$this->_construct();
131131
}
132132

133+
/**
134+
* @return void
135+
*/
133136
protected function _construct()
134137
{
135138
}

app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public function __construct($resource = null)
125125
/**
126126
* Initialization here
127127
*
128+
* @return void
128129
*/
129130
protected function _construct()
130131
{

app/code/core/Mage/Paypal/Block/Express/Form.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ class Mage_Paypal_Block_Express_Form extends Mage_Paypal_Block_Standard_Form
3232
*/
3333
protected function _construct()
3434
{
35-
$result = parent::_construct();
35+
parent::_construct();
3636
$this->setRedirectMessage(Mage::helper('paypal')->__('You will be redirected to the PayPal website.'));
37-
return $result;
3837
}
3938

4039
/**

app/code/core/Mage/Paypal/Block/Standard/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function _construct()
5454
->setMethodTitle('') // Output PayPal mark, omit title
5555
->setMethodLabelAfterHtml($mark->toHtml())
5656
;
57-
return parent::_construct();
57+
parent::_construct();
5858
}
5959

6060
/**

app/code/core/Mage/Paypal/Model/Payment/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Mage_Paypal_Model_Payment_Transaction extends Mage_Core_Model_Abstract
6060
protected function _construct()
6161
{
6262
$this->_init('paypal/payment_transaction');
63-
return parent::_construct();
63+
parent::_construct();
6464
}
6565

6666
/**

0 commit comments

Comments
 (0)