Code Duplication    Length = 4-4 lines in 2 locations

Components/Klarna/transport/xmlrpc-3.0.0.beta/lib/xmlrpc.inc 1 location

@@ 3583-3586 (lines=4) @@
3580
				return $r;
3581
			case 'methodcall':
3582
				$m = new xmlrpcmsg($GLOBALS['_xh']['method']);
3583
				for($i=0; $i < count($GLOBALS['_xh']['params']); $i++)
3584
				{
3585
					$m->addParam($GLOBALS['_xh']['params'][$i]);
3586
				}
3587
				return $m;
3588
			case 'value':
3589
				return $GLOBALS['_xh']['value'];

Components/Klarna/transport/xmlrpc-3.0.0.beta/lib/xmlrpcs.inc 1 location

@@ 1018-1021 (lines=4) @@
1015
					// build an xmlrpcmsg object with data parsed from xml
1016
					$m=new xmlrpcmsg($GLOBALS['_xh']['method']);
1017
					// now add parameters in
1018
					for($i=0; $i<count($GLOBALS['_xh']['params']); $i++)
1019
					{
1020
						$m->addParam($GLOBALS['_xh']['params'][$i]);
1021
					}
1022
1023
					if($this->debug > 1)
1024
					{