diff options
author | Stanislav Malyshev <stas@php.net> | 2015-01-03 01:22:58 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-01-10 15:07:38 -0800 |
commit | b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch) | |
tree | 0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/simplexml/sxe.c | |
parent | 773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff) | |
download | php-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz |
trailing whitespace removal
Diffstat (limited to 'ext/simplexml/sxe.c')
-rw-r--r-- | ext/simplexml/sxe.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/simplexml/sxe.c b/ext/simplexml/sxe.c index 19ef49a785..bb36e75aa5 100644 --- a/ext/simplexml/sxe.c +++ b/ext/simplexml/sxe.c @@ -41,7 +41,7 @@ zend_class_entry *ce_SimpleXMLElement; PHP_METHOD(ce_SimpleXMLIterator, rewind) { php_sxe_iterator iter; - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -56,7 +56,7 @@ PHP_METHOD(ce_SimpleXMLIterator, rewind) PHP_METHOD(ce_SimpleXMLIterator, valid) { php_sxe_object *sxe = Z_SXEOBJ_P(getThis()); - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -70,7 +70,7 @@ PHP_METHOD(ce_SimpleXMLIterator, valid) PHP_METHOD(ce_SimpleXMLIterator, current) { php_sxe_object *sxe = Z_SXEOBJ_P(getThis()); - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -90,7 +90,7 @@ PHP_METHOD(ce_SimpleXMLIterator, key) xmlNodePtr curnode; php_sxe_object *intern; php_sxe_object *sxe = Z_SXEOBJ_P(getThis()); - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -104,7 +104,7 @@ PHP_METHOD(ce_SimpleXMLIterator, key) curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; RETURN_STRINGL((char*)curnode->name, xmlStrlen(curnode->name)); } - + RETURN_FALSE; } /* }}} */ @@ -114,7 +114,7 @@ PHP_METHOD(ce_SimpleXMLIterator, key) PHP_METHOD(ce_SimpleXMLIterator, next) { php_sxe_iterator iter; - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -125,13 +125,13 @@ PHP_METHOD(ce_SimpleXMLIterator, next) /* }}} */ /* {{{ proto bool SimpleXMLIterator::hasChildren() - Check whether element has children (elements) */ + Check whether element has children (elements) */ PHP_METHOD(ce_SimpleXMLIterator, hasChildren) { php_sxe_object *sxe = Z_SXEOBJ_P(getThis()); php_sxe_object *child; xmlNodePtr node; - + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -153,11 +153,11 @@ PHP_METHOD(ce_SimpleXMLIterator, hasChildren) /* }}} */ /* {{{ proto SimpleXMLIterator SimpleXMLIterator::getChildren() - Get child element iterator */ + Get child element iterator */ PHP_METHOD(ce_SimpleXMLIterator, getChildren) { php_sxe_object *sxe = Z_SXEOBJ_P(getThis()); - + if (zend_parse_parameters_none() == FAILURE) { return; } |