cvs: pear /SOAP WSDL.php

From: Date: Sun, 17 Jul 2005 08:34:42 +0000
Subject: cvs: pear /SOAP WSDL.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33088@lists.php.net to get a copy of this message
yunosh Sun Jul 17 04:34:42 2005 EDT Modified files: /pear/SOAP WSDL.php Log: Nuke unnecessary reset() calls. Bug: 4847 http://cvs.php.net/diff.php/pear/SOAP/WSDL.php?r1=1.79&r2=1.80&ty=u Index: pear/SOAP/WSDL.php diff -u pear/SOAP/WSDL.php:1.79 pear/SOAP/WSDL.php:1.80 --- pear/SOAP/WSDL.php:1.79 Mon May 30 18:16:38 2005 +++ pear/SOAP/WSDL.php Sun Jul 17 04:34:38 2005 @@ -1900,13 +1900,11 @@ // Struct = array("item1" => "value1", "item2" => "value2", ...) if (is_array($typeValue)) { - reset($typeValue); if (is_array(current($typeValue)) && count($typeValue) == 1 && count(current($typeValue)) == 1) { // It's an array $thisType['type'] = 'Array'; - reset(current($typeValue)); list($nsPrefix, $typeName) = $this->_getTypeNs(current(current($typeValue))); $thisType['namespace'] = $nsPrefix; $thisType['arrayType'] = $typeName . '[]';

« previous php.pear.cvs (#33088) next »