Skip to content

Commit

Permalink
Merge pull request #8703 from jchenevey/4.3
Browse files Browse the repository at this point in the history
CustomMethods->removeMethodsFrom Warnings
  • Loading branch information
robbieaverill committed Jan 8, 2019
2 parents 937d73f + 068c240 commit 544f9e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/CustomMethods.php
Expand Up @@ -279,6 +279,10 @@ protected function removeMethodsFrom($property, $index = null)
$methods = $this->findMethodsFromExtension($extension);
if ($methods) {
foreach ($methods as $method) {
if (!isset(self::$extra_methods[$class][$method])) {
continue;
}

$methodInfo = self::$extra_methods[$class][$method];

if ($methodInfo['property'] === $property && $methodInfo['index'] === $index) {
Expand Down

0 comments on commit 544f9e1

Please sign in to comment.