diff --git a/templates/html/components.xsl b/templates/html/components.xsl
index a19813bb..cea074bf 100644
--- a/templates/html/components.xsl
+++ b/templates/html/components.xsl
@@ -325,7 +325,7 @@
—
-
+
@@ -504,7 +504,7 @@
-
+
void
diff --git a/templates/html/functions.xsl b/templates/html/functions.xsl
index cc11414a..fa1cba47 100644
--- a/templates/html/functions.xsl
+++ b/templates/html/functions.xsl
@@ -47,15 +47,19 @@
-
+
+
+
+ object
+
-
+
diff --git a/templates/html/synopsis.xsl b/templates/html/synopsis.xsl
index 37f2835e..20a7bf67 100644
--- a/templates/html/synopsis.xsl
+++ b/templates/html/synopsis.xsl
@@ -77,7 +77,7 @@
magic (r/o) (w/o)
-
+
@@ -144,10 +144,11 @@
-
+
+
@@ -159,11 +160,11 @@
?
-
+
-
+
void
diff --git a/tests/data/issue354/src/test.php b/tests/data/issue354/src/test.php
new file mode 100644
index 00000000..a554d7bf
--- /dev/null
+++ b/tests/data/issue354/src/test.php
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+