Permalink
Browse files

fixed length annotation

  • Loading branch information...
1 parent 6e37a1a commit 67f1cbeef68b09eeac8277342baee4de8f92af3f @brikou committed 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
@@ -993,7 +993,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 67f1cbe

Please sign in to comment.