diff --git a/manual/new/docs/en/object-relational-mapping/constraints-and-validators.txt b/manual/new/docs/en/object-relational-mapping/constraints-and-validators.txt index 643c20683..366575558 100644 --- a/manual/new/docs/en/object-relational-mapping/constraints-and-validators.txt +++ b/manual/new/docs/en/object-relational-mapping/constraints-and-validators.txt @@ -85,7 +85,7 @@ class Product extends Doctrine_Record public function setTableDefinition() { $this->hasColumn('id', 'integer', 4, 'primary'); - $this->hasColumn('price', 'decimal', 18, array('min' => 0); + $this->hasColumn('price', 'decimal', 18, array('min' => 0)); } } @@ -110,7 +110,7 @@ class Product extends Doctrine_Record public function setTableDefinition() { $this->hasColumn('id', 'integer', 4, 'primary'); - $this->hasColumn('price', 'decimal', 18, array('min' => 0, 'max' => 1000000); + $this->hasColumn('price', 'decimal', 18, array('min' => 0, 'max' => 1000000)); } } @@ -134,8 +134,8 @@ class Product extends Doctrine_Record public function setTableDefinition() { $this->hasColumn('id', 'integer', 4, 'primary'); - $this->hasColumn('price', 'decimal', 18, array('min' => 0, 'max' => 1000000); - $this->hasColumn('discounted_price', 'decimal', 18, array('min' => 0, 'max' => 1000000); + $this->hasColumn('price', 'decimal', 18, array('min' => 0, 'max' => 1000000)); + $this->hasColumn('discounted_price', 'decimal', 18, array('min' => 0, 'max' => 1000000)); $this->check('price > discounted_price'); }