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

From: Date: Tue, 03 Jun 2025 06:39:28 +0000
Subject: [doc-en] master: Update decon.xml: Fix typo (#4707)
Groups: php.doc.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
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;


Thread (1 message)

  • Kirill Timchenko via GitHub
« previous php.doc.cvs (#22681) next »