Code Duplication    Length = 9-9 lines in 2 locations

Components/Klarna/transport/xmlrpc-3.0.0.beta/lib/xmlrpcs.inc 2 locations

@@ 106-114 (lines=9) @@
103
	function _xmlrpcs_methodSignature($server, $m)
104
	{
105
		// let accept as parameter both an xmlrpcval or string
106
		if (is_object($m))
107
		{
108
			$methName=$m->getParam(0);
109
			$methName=$methName->scalarval();
110
		}
111
		else
112
		{
113
			$methName=$m;
114
		}
115
		if(strpos($methName, "system.") === 0)
116
		{
117
			$dmap=$GLOBALS['_xmlrpcs_dmap']; $sysCall=1;
@@ 159-167 (lines=9) @@
156
	function _xmlrpcs_methodHelp($server, $m)
157
	{
158
		// let accept as parameter both an xmlrpcval or string
159
		if (is_object($m))
160
		{
161
			$methName=$m->getParam(0);
162
			$methName=$methName->scalarval();
163
		}
164
		else
165
		{
166
			$methName=$m;
167
		}
168
		if(strpos($methName, "system.") === 0)
169
		{
170
			$dmap=$GLOBALS['_xmlrpcs_dmap']; $sysCall=1;