summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2015-06-23 15:47:07 -0400
committerRasmus Lerdorf <rasmus@php.net>2015-06-23 15:47:33 -0400
commit41774bceff518c838dd982d6c1e8c95641b26b02 (patch)
treed6e6e43d2e4f588b3aac2cde3bf314f04d1748a1 /ext/dom
parentea5c66ec9310430111b48d4589e56cea5c0b5ab0 (diff)
downloadphp-git-41774bceff518c838dd982d6c1e8c95641b26b02.tar.gz
Fix more minor mistakes in the proto comments
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/attr.c4
-rw-r--r--ext/dom/document.c54
-rw-r--r--ext/dom/documentfragment.c4
-rw-r--r--ext/dom/element.c2
-rw-r--r--ext/dom/entityreference.c2
-rw-r--r--ext/dom/text.c6
-rw-r--r--ext/dom/xpath.c6
7 files changed, 39 insertions, 39 deletions
diff --git a/ext/dom/attr.c b/ext/dom/attr.c
index 1ecf6610b7..66f677058e 100644
--- a/ext/dom/attr.c
+++ b/ext/dom/attr.c
@@ -52,7 +52,7 @@ const zend_function_entry php_dom_attr_class_functions[] = {
PHP_FE_END
};
-/* {{{ proto void DOMAttr::__construct(string name, [string value]); */
+/* {{{ proto void DOMAttr::__construct(string name, [string value]) */
PHP_METHOD(domattr, __construct)
{
zval *id = getThis();
@@ -220,7 +220,7 @@ int dom_attr_schema_type_info_read(dom_object *obj, zval *retval)
/* }}} */
-/* {{{ proto boolean dom_attr_is_id();
+/* {{{ proto boolean dom_attr_is_id()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId
Since: DOM Level 3
*/
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 3e4e298654..9e18d7fcba 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -687,7 +687,7 @@ int dom_document_config_read(dom_object *obj, zval *retval)
/* }}} */
-/* {{{ proto DOMElement dom_document_create_element(string tagName [, string value]);
+/* {{{ proto DOMElement dom_document_create_element(string tagName [, string value])
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547
Since:
*/
@@ -721,7 +721,7 @@ PHP_FUNCTION(dom_document_create_element)
}
/* }}} end dom_document_create_element */
-/* {{{ proto DOMDocumentFragment dom_document_create_document_fragment();
+/* {{{ proto DOMDocumentFragment dom_document_create_document_fragment()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5
Since:
*/
@@ -748,7 +748,7 @@ PHP_FUNCTION(dom_document_create_document_fragment)
}
/* }}} end dom_document_create_document_fragment */
-/* {{{ proto DOMText dom_document_create_text_node(string data);
+/* {{{ proto DOMText dom_document_create_text_node(string data)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127
Since:
*/
@@ -777,7 +777,7 @@ PHP_FUNCTION(dom_document_create_text_node)
}
/* }}} end dom_document_create_text_node */
-/* {{{ proto DOMComment dom_document_create_comment(string data);
+/* {{{ proto DOMComment dom_document_create_comment(string data)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328
Since:
*/
@@ -806,7 +806,7 @@ PHP_FUNCTION(dom_document_create_comment)
}
/* }}} end dom_document_create_comment */
-/* {{{ proto DOMCdataSection dom_document_create_cdatasection(string data);
+/* {{{ proto DOMCdataSection dom_document_create_cdatasection(string data)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8
Since:
*/
@@ -835,7 +835,7 @@ PHP_FUNCTION(dom_document_create_cdatasection)
}
/* }}} end dom_document_create_cdatasection */
-/* {{{ proto DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data);
+/* {{{ proto DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439
Since:
*/
@@ -871,7 +871,7 @@ PHP_FUNCTION(dom_document_create_processing_instruction)
}
/* }}} end dom_document_create_processing_instruction */
-/* {{{ proto DOMAttr dom_document_create_attribute(string name);
+/* {{{ proto DOMAttr dom_document_create_attribute(string name)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198
Since:
*/
@@ -906,7 +906,7 @@ PHP_FUNCTION(dom_document_create_attribute)
}
/* }}} end dom_document_create_attribute */
-/* {{{ proto DOMEntityReference dom_document_create_entity_reference(string name);
+/* {{{ proto DOMEntityReference dom_document_create_entity_reference(string name)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE
Since:
*/
@@ -940,7 +940,7 @@ PHP_FUNCTION(dom_document_create_entity_reference)
}
/* }}} end dom_document_create_entity_reference */
-/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name(string tagname);
+/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name(string tagname)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094
Since:
*/
@@ -966,7 +966,7 @@ PHP_FUNCTION(dom_document_get_elements_by_tag_name)
}
/* }}} end dom_document_get_elements_by_tag_name */
-/* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep);
+/* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode
Since: DOM Level 2
*/
@@ -1021,7 +1021,7 @@ PHP_FUNCTION(dom_document_import_node)
}
/* }}} end dom_document_import_node */
-/* {{{ proto DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]);
+/* {{{ proto DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value])
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS
Since: DOM Level 2
*/
@@ -1085,7 +1085,7 @@ PHP_FUNCTION(dom_document_create_element_ns)
}
/* }}} end dom_document_create_element_ns */
-/* {{{ proto DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName);
+/* {{{ proto DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS
Since: DOM Level 2
*/
@@ -1151,7 +1151,7 @@ PHP_FUNCTION(dom_document_create_attribute_ns)
}
/* }}} end dom_document_create_attribute_ns */
-/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName);
+/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS
Since: DOM Level 2
*/
@@ -1178,7 +1178,7 @@ PHP_FUNCTION(dom_document_get_elements_by_tag_name_ns)
}
/* }}} end dom_document_get_elements_by_tag_name_ns */
-/* {{{ proto DOMElement dom_document_get_element_by_id(string elementId);
+/* {{{ proto DOMElement dom_document_get_element_by_id(string elementId)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId
Since: DOM Level 2
*/
@@ -1209,7 +1209,7 @@ PHP_FUNCTION(dom_document_get_element_by_id)
}
/* }}} end dom_document_get_element_by_id */
-/* {{{ proto DOMNode dom_document_adopt_node(DOMNode source);
+/* {{{ proto DOMNode dom_document_adopt_node(DOMNode source)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode
Since: DOM Level 3
*/
@@ -1219,7 +1219,7 @@ PHP_FUNCTION(dom_document_adopt_node)
}
/* }}} end dom_document_adopt_node */
-/* {{{ proto void dom_document_normalize_document();
+/* {{{ proto void dom_document_normalize_document()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument
Since: DOM Level 3
*/
@@ -1239,7 +1239,7 @@ PHP_FUNCTION(dom_document_normalize_document)
}
/* }}} end dom_document_normalize_document */
-/* {{{ proto DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName);
+/* {{{ proto DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode
Since: DOM Level 3
*/
@@ -1528,7 +1528,7 @@ static void dom_parse_document(INTERNAL_FUNCTION_PARAMETERS, int mode) {
}
/* }}} end dom_parser_document */
-/* {{{ proto DOMNode dom_document_load(string source [, int options]);
+/* {{{ proto DOMNode dom_document_load(string source [, int options])
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-load
Since: DOM Level 3
*/
@@ -1538,7 +1538,7 @@ PHP_METHOD(domdocument, load)
}
/* }}} end dom_document_load */
-/* {{{ proto DOMNode dom_document_loadxml(string source [, int options]);
+/* {{{ proto DOMNode dom_document_loadxml(string source [, int options])
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-loadXML
Since: DOM Level 3
*/
@@ -1548,7 +1548,7 @@ PHP_METHOD(domdocument, loadXML)
}
/* }}} end dom_document_loadxml */
-/* {{{ proto int dom_document_save(string file);
+/* {{{ proto int dom_document_save(string file)
Convenience method to save to file
*/
PHP_FUNCTION(dom_document_save)
@@ -1592,7 +1592,7 @@ PHP_FUNCTION(dom_document_save)
}
/* }}} end dom_document_save */
-/* {{{ proto string dom_document_savexml([node n]);
+/* {{{ proto string dom_document_savexml([node n])
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-saveXML
Since: DOM Level 3
*/
@@ -1744,7 +1744,7 @@ PHP_FUNCTION(dom_document_xinclude)
}
/* }}} */
-/* {{{ proto boolean dom_document_validate();
+/* {{{ proto boolean dom_document_validate()
Since: DOM extended
*/
PHP_FUNCTION(dom_document_validate)
@@ -2062,7 +2062,7 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
}
/* }}} */
-/* {{{ proto DOMNode dom_document_load_html_file(string source);
+/* {{{ proto DOMNode dom_document_load_html_file(string source)
Since: DOM extended
*/
PHP_METHOD(domdocument, loadHTMLFile)
@@ -2071,7 +2071,7 @@ PHP_METHOD(domdocument, loadHTMLFile)
}
/* }}} end dom_document_load_html_file */
-/* {{{ proto DOMNode dom_document_load_html(string source);
+/* {{{ proto DOMNode dom_document_load_html(string source)
Since: DOM extended
*/
PHP_METHOD(domdocument, loadHTML)
@@ -2080,7 +2080,7 @@ PHP_METHOD(domdocument, loadHTML)
}
/* }}} end dom_document_load_html */
-/* {{{ proto int dom_document_save_html_file(string file);
+/* {{{ proto int dom_document_save_html_file(string file)
Convenience method to save to file as html
*/
PHP_FUNCTION(dom_document_save_html_file)
@@ -2119,7 +2119,7 @@ PHP_FUNCTION(dom_document_save_html_file)
}
/* }}} end dom_document_save_html_file */
-/* {{{ proto string dom_document_save_html();
+/* {{{ proto string dom_document_save_html()
Convenience method to output as html
*/
PHP_FUNCTION(dom_document_save_html)
@@ -2206,7 +2206,7 @@ PHP_FUNCTION(dom_document_save_html)
#endif /* defined(LIBXML_HTML_ENABLED) */
-/* {{{ proto boolean DOMDocument::registerNodeClass(string baseclass, string extendedclass);
+/* {{{ proto boolean DOMDocument::registerNodeClass(string baseclass, string extendedclass)
Register extended class used to create base node type */
PHP_METHOD(domdocument, registerNodeClass)
{
diff --git a/ext/dom/documentfragment.c b/ext/dom/documentfragment.c
index 9cf0fd5423..05494ea8c3 100644
--- a/ext/dom/documentfragment.c
+++ b/ext/dom/documentfragment.c
@@ -49,7 +49,7 @@ const zend_function_entry php_dom_documentfragment_class_functions[] = {
PHP_FE_END
};
-/* {{{ proto void DOMDocumentFragment::__construct(); */
+/* {{{ proto void DOMDocumentFragment::__construct() */
PHP_METHOD(domdocumentfragment, __construct)
{
@@ -112,7 +112,7 @@ static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */
}
/* }}} */
-/* {{{ proto void DOMDocumentFragment::appendXML(string data); */
+/* {{{ proto void DOMDocumentFragment::appendXML(string data) */
PHP_METHOD(domdocumentfragment, appendXML) {
zval *id;
xmlNode *nodep;
diff --git a/ext/dom/element.c b/ext/dom/element.c
index 4af6c9accf..faeff9e389 100644
--- a/ext/dom/element.c
+++ b/ext/dom/element.c
@@ -150,7 +150,7 @@ const zend_function_entry php_dom_element_class_functions[] = { /* {{{ */
};
/* }}} */
-/* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]); */
+/* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]) */
PHP_METHOD(domelement, __construct)
{
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c
index a3e3eaea0f..ba609fd0f3 100644
--- a/ext/dom/entityreference.c
+++ b/ext/dom/entityreference.c
@@ -45,7 +45,7 @@ const zend_function_entry php_dom_entityreference_class_functions[] = {
PHP_FE_END
};
-/* {{{ proto void DOMEntityReference::__construct(string name); */
+/* {{{ proto void DOMEntityReference::__construct(string name) */
PHP_METHOD(domentityreference, __construct)
{
zval *id = getThis();
diff --git a/ext/dom/text.c b/ext/dom/text.c
index f857163ce1..bdd6e38f40 100644
--- a/ext/dom/text.c
+++ b/ext/dom/text.c
@@ -133,7 +133,7 @@ int dom_text_whole_text_read(dom_object *obj, zval *retval)
/* }}} */
-/* {{{ proto DOMText dom_text_split_text(int offset);
+/* {{{ proto DOMText dom_text_split_text(int offset)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D
Since:
*/
@@ -194,7 +194,7 @@ PHP_FUNCTION(dom_text_split_text)
}
/* }}} end dom_text_split_text */
-/* {{{ proto boolean dom_text_is_whitespace_in_element_content();
+/* {{{ proto boolean dom_text_is_whitespace_in_element_content()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent
Since: DOM Level 3
*/
@@ -217,7 +217,7 @@ PHP_FUNCTION(dom_text_is_whitespace_in_element_content)
}
/* }}} end dom_text_is_whitespace_in_element_content */
-/* {{{ proto DOMText dom_text_replace_whole_text(string content);
+/* {{{ proto DOMText dom_text_replace_whole_text(string content)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText
Since: DOM Level 3
*/
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c
index 58155c1aa9..63a877b3a1 100644
--- a/ext/dom/xpath.c
+++ b/ext/dom/xpath.c
@@ -309,7 +309,7 @@ int dom_xpath_document_read(dom_object *obj, zval *retval)
}
/* }}} */
-/* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri); */
+/* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri) */
PHP_FUNCTION(dom_xpath_register_ns)
{
zval *id;
@@ -490,14 +490,14 @@ static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */
}
/* }}} */
-/* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context [, boolean registerNodeNS]]); */
+/* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context [, boolean registerNodeNS]]) */
PHP_FUNCTION(dom_xpath_query)
{
php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_QUERY);
}
/* }}} end dom_xpath_query */
-/* {{{ proto mixed dom_xpath_evaluate(string expr [,DOMNode context [, boolean registerNodeNS]]); */
+/* {{{ proto mixed dom_xpath_evaluate(string expr [,DOMNode context [, boolean registerNodeNS]]) */
PHP_FUNCTION(dom_xpath_evaluate)
{
php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_EVALUATE);