Skip to content
This repository was archived by the owner on Mar 30, 2018. It is now read-only.

Commit fa29d36

Browse files
Merge pull request #126 from barelon/patch-1
Fix some typos in annotations reference
2 parents 9ae1f80 + c463121 commit fa29d36

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

en/reference/annotations-reference.rst

+11-7
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Example:
295295
/**
296296
* @Id
297297
* @Column(type="integer")
298-
* @generatedValue(strategy="IDENTITY")
298+
* @GeneratedValue(strategy="IDENTITY")
299299
*/
300300
protected $id = null;
301301
@@ -634,13 +634,17 @@ Example:
634634
.. code-block:: php
635635
636636
<?php
637-
/** @MappedSuperclass */
637+
/**
638+
* @MappedSuperclass
639+
*/
638640
class MappedSuperclassBase
639641
{
640642
// ... fields and methods
641643
}
642644
643-
/** @Entity */
645+
/**
646+
* @Entity
647+
*/
644648
class EntitySubClassFoo extends MappedSuperclassBase
645649
{
646650
// ... fields and methods
@@ -662,7 +666,7 @@ Required attributes:
662666
Optional attributes:
663667

664668
- **resultClass**: The class of the result.
665-
- **sqlResultSetMapping**: The name of a SqlResultSetMapping, as defined in metadata.
669+
- **resultSetMapping**: The name of a SqlResultSetMapping, as defined in metadata.
666670

667671

668672
Example:
@@ -935,7 +939,7 @@ Required attributes:
935939

936940
Optional attributes:
937941

938-
- **resultClass**: Array of @EntityResult, Specifies the result set mapping to entities.
942+
- **entities**: Array of @EntityResult, Specifies the result set mapping to entities.
939943
- **columns**: Array of @ColumnResult, Specifies the result set mapping to scalar values.
940944

941945
Example:
@@ -1102,8 +1106,8 @@ Example:
11021106
11031107
<?php
11041108
/**
1105-
* @column(type="integer")
1106-
* @version
1109+
* @Column(type="integer")
1110+
* @Version
11071111
*/
11081112
protected $version;
11091113

0 commit comments

Comments
 (0)