From ec23961c7d8dfe2941dcd1e42801a9f79ca43dcd Mon Sep 17 00:00:00 2001 From: Juti Noppornpitak Date: Wed, 16 Jan 2013 15:48:15 -0500 Subject: [PATCH] Update en/cookbook/decorator-pattern.rst --- en/cookbook/decorator-pattern.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/cookbook/decorator-pattern.rst b/en/cookbook/decorator-pattern.rst index ab9cf8c92..49d13b719 100644 --- a/en/cookbook/decorator-pattern.rst +++ b/en/cookbook/decorator-pattern.rst @@ -39,7 +39,7 @@ concrete subclasses, ``ConcreteComponent`` and ``ConcreteDecorator``. */ protected $id; - /** @Column(type="string", nullable="true") */ + /** @Column(type="string", nullable=true) */ protected $name; /** @@ -119,7 +119,7 @@ use a ``MappedSuperclass`` for this. */ public function __construct(Component $c) { - $this->setDecorates($c); + $this->setDecorates($c); } /** @@ -191,7 +191,7 @@ of the getSpecial() method to its return value. class ConcreteDecorator extends Decorator { - /** @Column(type="string", nullable="true") */ + /** @Column(type="string", nullable=true) */ protected $special; /**