From 376d0913481b84e254a1458ec732af5394ff59fc Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Wed, 11 Sep 2013 16:26:18 +0200 Subject: [PATCH] remove duplicate locale properties --- Doctrine/Phpcr/ImagineBlock.php | 5 ----- Doctrine/Phpcr/SimpleBlock.php | 5 ----- Doctrine/Phpcr/SlideshowBlock.php | 5 ----- Doctrine/Phpcr/StringBlock.php | 5 ----- Model/AbstractBlock.php | 2 +- 5 files changed, 1 insertion(+), 21 deletions(-) diff --git a/Doctrine/Phpcr/ImagineBlock.php b/Doctrine/Phpcr/ImagineBlock.php index 6623bdaa..33e77916 100644 --- a/Doctrine/Phpcr/ImagineBlock.php +++ b/Doctrine/Phpcr/ImagineBlock.php @@ -39,11 +39,6 @@ class ImagineBlock extends AbstractBlock implements TranslatableInterface */ protected $node; - /** - * @var string - */ - protected $locale; - /** * {@inheritdoc} */ diff --git a/Doctrine/Phpcr/SimpleBlock.php b/Doctrine/Phpcr/SimpleBlock.php index 6372b4e5..88f12878 100644 --- a/Doctrine/Phpcr/SimpleBlock.php +++ b/Doctrine/Phpcr/SimpleBlock.php @@ -19,11 +19,6 @@ class SimpleBlock extends AbstractBlock implements TranslatableInterface */ protected $body; - /** - * @var string - */ - protected $locale; - /** * {@inheritdoc} */ diff --git a/Doctrine/Phpcr/SlideshowBlock.php b/Doctrine/Phpcr/SlideshowBlock.php index ca18d347..1caafb0c 100644 --- a/Doctrine/Phpcr/SlideshowBlock.php +++ b/Doctrine/Phpcr/SlideshowBlock.php @@ -17,11 +17,6 @@ class SlideshowBlock extends ContainerBlock implements TranslatableInterface */ protected $title; - /** - * @var string - */ - protected $locale; - /** * {@inheritdoc} */ diff --git a/Doctrine/Phpcr/StringBlock.php b/Doctrine/Phpcr/StringBlock.php index 31e50bd2..7f0b868f 100644 --- a/Doctrine/Phpcr/StringBlock.php +++ b/Doctrine/Phpcr/StringBlock.php @@ -14,11 +14,6 @@ class StringBlock extends AbstractBlock implements TranslatableInterface */ protected $body; - /** - * @var string - */ - protected $locale; - /** * {@inheritdoc} */ diff --git a/Model/AbstractBlock.php b/Model/AbstractBlock.php index ed21dcef..0f8a2425 100644 --- a/Model/AbstractBlock.php +++ b/Model/AbstractBlock.php @@ -76,7 +76,7 @@ abstract class AbstractBlock implements * * @var string */ - protected $locale = false; + protected $locale; /** * @param string $src