Skip to content

Commit

Permalink
Fixed docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Sep 28, 2024
1 parent e1cada7 commit e4f3862
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .phpstan.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2160,11 +2160,6 @@ parameters:
count: 1
path: app/code/core/Mage/Core/Model/Config.php

-
message: "#^Method Mage_Core_Model_Config\\:\\:getNode\\(\\) should return Mage_Core_Model_Config_Element but returns Varien_Simplexml_Element\\|false\\.$#"
count: 1
path: app/code/core/Mage/Core/Model/Config.php

-
message: "#^Return type \\(Mage_Core_Model_App\\) of method Mage_Core_Model_Config\\:\\:_saveCache\\(\\) should be compatible with return type \\(bool\\) of method Varien_Simplexml_Config\\:\\:_saveCache\\(\\)$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Core/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ public function getSectionNode($path)
* Returns node found by the $path and scope info
*
* @inheritDoc
* @return Mage_Core_Model_Config_Element
* @return Mage_Core_Model_Config_Element|false
*/
#[\Override]
public function getNode($path = null, $scope = '', $scopeCode = null)
Expand Down

0 comments on commit e4f3862

Please sign in to comment.