$withers[] =
[$reflectionMethod->name,
[], true
];
} else { $value->
addMethodCall($reflectionMethod->name,
[]);
} break;
} if (false ===
stripos($doc, '@inheritdoc'
) || !
preg_match('#(?:^/\*\*|\n\s*+\*)\s*+(?:\{@inheritdoc\}|@inheritdoc)(?:\s|\*/$)#i',
$doc)) { break;
} } try { $r =
$r->
getPrototype();
} catch (\ReflectionException
) { break; // method has no prototype
} } } if ($withers) { // Prepend withers to prevent creating circular loops
$setters =
$value->
getMethodCalls();
$value->
setMethodCalls($withers);
foreach ($setters as $call) {