Skip to content

Commit

Permalink
phpstan.dist.baseline.neon
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 18, 2023
1 parent dc42a7c commit 0f85794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/code/core/Mage/Core/Model/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Mage_Core_Model_Cache
/**
* Cache frontend API
*
* @var Varien_Cache_Core
* @var Varien_Cache_Core|Zend_Cache_Core
*/
protected $_frontend;

Expand Down Expand Up @@ -355,7 +355,7 @@ protected function _tags($tags = [])
/**
* Get cache frontend API object
*
* @return Varien_Cache_Core
* @return Varien_Cache_Core|Zend_Cache_Core
*/
public function getFrontend()
{
Expand Down
5 changes: 0 additions & 5 deletions phpstan.dist.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3250,11 +3250,6 @@ parameters:
count: 1
path: app/code/core/Mage/Core/Model/Cache.php

-
message: "#^Property Mage_Core_Model_Cache\\:\\:\\$_frontend \\(Varien_Cache_Core\\) does not accept Zend_Cache_Core\\|Zend_Cache_Frontend\\.$#"
count: 1
path: app/code/core/Mage/Core/Model/Cache.php

-
message: "#^Call to an undefined method SimpleXMLElement\\:\\:getClassName\\(\\)\\.$#"
count: 1
Expand Down

0 comments on commit 0f85794

Please sign in to comment.