freebsd-ports/net-mgmt/icingaweb2/files/patch-library_vendor_Zend_Registry.php
Guido Falsi 30b4416cd0 Import changes from upstream to make icingaweb2 work with php 7.4
Approved by:	lme (maintainer)
Obtained from:	Upstream repository head
2020-03-19 09:03:47 +00:00

18 lines
477 B
PHP

--- library/vendor/Zend/Registry.php.orig 2019-10-18 05:39:24 UTC
+++ library/vendor/Zend/Registry.php
@@ -190,15 +190,4 @@ class Zend_Registry extends ArrayObject
parent::__construct($array, $flags);
}
- /**
- * @param string $index
- * @returns mixed
- *
- * Workaround for http://bugs.php.net/bug.php?id=40442 (ZF-960).
- */
- public function offsetExists($index)
- {
- return array_key_exists($index, $this);
- }
-
}