Merge pull request #8702 from jchenevey/3.7

SS_Object::removeMethodsFrom silence notices
This commit is contained in:
Robbie Averill 2019-01-09 00:16:07 +01:00 committed by GitHub
commit e9b23d45a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -908,6 +908,10 @@ abstract class SS_Object {
$methods = $this->findMethodsFromExtension($extension);
if ($methods) {
foreach ($methods as $method) {
if (!isset(self::$extra_methods[$this->class][$method])) {
continue;
}
$methodInfo = self::$extra_methods[$this->class][$method];
if ($methodInfo['property'] === $property && $methodInfo['index'] === $index) {