`PatchManager::getReturn($class, $method, $params)` throws error when called inside patch. Would be a nice feature for aspect oriented programming