[DOC-CVS] [doc-en] master: Update decon.xml: Fix typo (#4707)

[email protected] (Kirill Timchenko via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Kirill Timchenko (adjsky)
Committer: GitHub (web-flow)
Pusher: Fan2Shrek
Date: 2025-06-03T08:27:45+02:00

Commit: https://github.com/php/doc-en/commit/8293f33a2156df38bf863ecdffc8294275136daf
Raw diff: https://github.com/php/doc-en/commit/8293f33a2156df38bf863ecdffc8294275136daf.diff

Update decon.xml: Fix typo (#4707)

Changed paths:
  M  language/oop5/decon.xml


Diff:

diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml
index 902d5730441d..931a792184f1 100644
--- a/language/oop5/decon.xml
+++ b/language/oop5/decon.xml
@@ -259,7 +259,7 @@ class Product {
         return new static($data['id'], $data['name']);
     }
 
-    public static function fromXml(string $xml): static {a
+    public static function fromXml(string $xml): static {
         $data = simplexml_load_string($xml);
         $new = new static();
         $new->id = $data->id;
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.