[doc-en] master: Added programlisting role for syntax highlighting for "coerce into union type" example. (#4901)
| From: | Yoshinari Takaoka via GitHub | Date: | Mon, 03 Nov 2025 15:37:49 +0000 |
| Subject: | [doc-en] master: Added programlisting role for syntax highlighting for "coerce into union type" example. (#4901) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22844@lists.php.net to get a copy of this message | ||
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