Browse Source

Fixes a typo in the annotations.rst

Ben Peachey 10 năm trước cách đây
mục cha
commit
267430d04f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      doc/reference/annotations.rst

+ 2 - 2
doc/reference/annotations.rst

@@ -531,7 +531,7 @@ This annotation can be defined on a property to add additional xml serialization
         /**
         * @XmlElement(cdata=false, namespace="http://www.w3.org/2005/Atom")
         */
-        private $id = 'my_id;
+        private $id = 'my_id';
     }
 
 Resulting XML:
@@ -582,4 +582,4 @@ Resulting XML:
         <atom:author>
             <full_name><![CDATA[Foo Bar]]></full_name>
         </atom:author>
-    </blog>
+    </blog>