[DOC-CVS] [doc-en] master: Added programlisting role for syntax highlighting for "coerce into union type" example. (#4901)
[email protected] (Yoshinari Takaoka via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Yoshinari Takaoka (mumumu)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2025-11-03T15:37:46Z
Commit: https://github.com/php/doc-en/commit/87fd768a70bb136ad6ba94699e8c6332e0c115e0
Raw diff: https://github.com/php/doc-en/commit/87fd768a70bb136ad6ba94699e8c6332e0c115e0.diff
Added programlisting role for syntax highlighting for "coerce into union type" example. (#4901)
Changed paths:
M language/types/type-juggling.xml
Diff:
diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index 3be3b9b4a43f..6e7cd80104f3 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -250,7 +250,7 @@
<example>
<title>Example of types being coerced into a type part of the union</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
// int|string