Permalink
Browse files

fixed length annotation

  • Loading branch information...
1 parent f7892a8 commit 245a4929df2bc4eec2a4f7f2cf823e84c54f59a8 @brikou brikou committed with weaverryan Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 book/doctrine.rst
  2. +1 −1 book/security.rst
View
@@ -1276,7 +1276,7 @@ and ``nullable``. Take a few examples:
* A string field of length 150 that persists to an "email_address" column
* and has a unique index.
*
- * @ORM\Column(name="email_address", unique=true, length="150")
+ * @ORM\Column(name="email_address", unique=true, length=150)
*/
protected $email;
View
@@ -980,7 +980,7 @@ be stored in the database.
class User implements UserInterface
{
/**
- * @ORM\Column(type="string", length="255")
+ * @ORM\Column(type="string", length=255)
*/
protected $username;

0 comments on commit 245a492

Please sign in to comment.