[DOC-CVS] [doc-en] master: Minor markup-fixes to Override attribute page (#4920)

[email protected] (Gina Peter Banyard via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2025-10-12T17:49:15+01:00

Commit: https://github.com/php/doc-en/commit/2c62a677639fb5bac320601d21f4a48a93b91e17
Raw diff: https://github.com/php/doc-en/commit/2c62a677639fb5bac320601d21f4a48a93b91e17.diff

Minor markup-fixes to Override attribute page (#4920)

Changed paths:
  M  language/predefined/attributes/override.xml


Diff:

diff --git a/language/predefined/attributes/override.xml b/language/predefined/attributes/override.xml
index 4562aee261e2..3ea84e849163 100644
--- a/language/predefined/attributes/override.xml
+++ b/language/predefined/attributes/override.xml
@@ -93,7 +93,7 @@ Fatal error: Extended::boo() has #[\Override] attribute, but no matching parent
    <example>
     <title>Usage with properties</title>
     <programlisting role="php">
-     <![CDATA[
+<![CDATA[
 <?php
 
 class Base {
@@ -110,7 +110,7 @@ final class Extended extends Base {
     </programlisting>
     &example.outputs.85.similar;
     <screen>
-     <![CDATA[
+<![CDATA[
 Fatal error: Extended::$boo has #[\Override] attribute, but no matching parent property exists
 ]]>
     </screen>
@@ -119,11 +119,9 @@ Fatal error: Extended::$boo has #[\Override] attribute, but no matching parent p
 
   <section xml:id="override.seealso">
    &reftitle.seealso;
-   <para>
-    <simplelist>
-     <member><link linkend="language.attributes">Attributes overview</link></member>
-    </simplelist>
-   </para>
+   <simplelist>
+    <member><link linkend="language.attributes">Attributes overview</link></member>
+   </simplelist>
   </section>
 
  </partintro>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.