File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <phpdoc:classref xml:id = " class. { CLASS_NAME_ID } " xmlns:phpdoc = " http://php.net/ns/phpdoc " xmlns =" http://docbook.org/ns/docbook" xmlns:xlink =" http://www.w3.org/1999/xlink" xmlns:xi =" http://www.w3.org/2001/XInclude" >
2
+ <reference role = " { CLASS_TYPE } " xml:id = " class. { CLASS_NAME_ID } " xmlns =" http://docbook.org/ns/docbook" xmlns:xlink =" http://www.w3.org/1999/xlink" xmlns:xi =" http://www.w3.org/2001/XInclude" >
3
3
<title >The { CLASS_NAME} { CLASS_TYPE} </title >
4
4
<titleabbrev >{ CLASS_NAME} </titleabbrev >
5
5
47
47
48
48
&reference.{ EXT_NAME_ID} .entities.{ CLASS_NAME_ID} ;
49
49
50
- </phpdoc:classref >
50
+ </reference >
51
51
<!-- Keep this comment at the end of the file
52
52
Local variables:
53
53
mode: sgml
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function usage() { /* {{{ */
90
90
}
91
91
/* }}} */
92
92
93
- function find_function ($ ext , ReflectionMethod $ method = NULL , ReflectionFunction $ func = NULL ) { /* {{{ */
93
+ function find_function ($ ext , ? ReflectionMethod $ method = NULL , ? ReflectionFunction $ func = NULL ) { /* {{{ */
94
94
$ ext_name = strtolower ($ ext );
95
95
$ ext = new ReflectionExtension ($ ext );
96
96
@@ -224,7 +224,7 @@ function get_type_by_string($str) { /* {{{ */
224
224
/* }}} */
225
225
226
226
/** @return string|null */
227
- function get_type_as_xml_string (ReflectionType $ type = null ) { /* {{{ */
227
+ function get_type_as_xml_string (? ReflectionType $ type = null ) { /* {{{ */
228
228
if ($ type instanceof ReflectionNamedType) {
229
229
$ ret = "<type> {$ type ->getName ()}</type> " ;
230
230
if ($ type ->allowsNull ()) {
You can’t perform that action at this time.
0 commit comments