From fe3e846cbe64c672b1781445e5d7f4ab0079f23f Mon Sep 17 00:00:00 2001 From: Dominik Liebler Date: Tue, 3 Sep 2013 14:42:15 +0200 Subject: [PATCH] removed @package annotations --- AbstractFactory/Html/Picture.php | 4 +--- AbstractFactory/Html/Text.php | 4 +--- AbstractFactory/HtmlFactory.php | 4 +--- AbstractFactory/Json/Picture.php | 4 +--- AbstractFactory/Json/Text.php | 4 +--- AbstractFactory/JsonFactory.php | 4 +--- AbstractFactory/Media.php | 2 -- AbstractFactory/Picture.php | 2 -- AbstractFactory/Text.php | 2 -- 9 files changed, 6 insertions(+), 24 deletions(-) diff --git a/AbstractFactory/Html/Picture.php b/AbstractFactory/Html/Picture.php index 549d3d7..c678cf1 100644 --- a/AbstractFactory/Html/Picture.php +++ b/AbstractFactory/Html/Picture.php @@ -8,8 +8,6 @@ use DesignPatterns\AbstractFactory\Picture as BasePicture; * Class Picture * * Picture is a concrete image for HTML rendering - * - * @package DesignPatterns\AbstractFactory\Html */ class Picture extends BasePicture { @@ -24,4 +22,4 @@ class Picture extends BasePicture return sprintf('', $this->_path, $this->_name); } -} \ No newline at end of file +} diff --git a/AbstractFactory/Html/Text.php b/AbstractFactory/Html/Text.php index 6289542..4e626e2 100644 --- a/AbstractFactory/Html/Text.php +++ b/AbstractFactory/Html/Text.php @@ -8,8 +8,6 @@ use DesignPatterns\AbstractFactory\Text as BaseText; * Class Text * * Text is a concrete text for HTML rendering - * - * @package DesignPatterns\AbstractFactory\Html */ class Text extends BaseText { @@ -24,4 +22,4 @@ class Text extends BaseText return '
' . htmlspecialchars($this->_text) . '
'; } -} \ No newline at end of file +} diff --git a/AbstractFactory/HtmlFactory.php b/AbstractFactory/HtmlFactory.php index a1a7d6e..dad71b9 100644 --- a/AbstractFactory/HtmlFactory.php +++ b/AbstractFactory/HtmlFactory.php @@ -6,8 +6,6 @@ namespace DesignPatterns\AbstractFactory; * Class HtmlFactory * * HtmlFactory is a concrete factory for HTML component - * - * @package DesignPatterns\AbstractFactory */ class HtmlFactory extends AbstractFactory { @@ -35,4 +33,4 @@ class HtmlFactory extends AbstractFactory return new Html\Text($content); } -} \ No newline at end of file +} diff --git a/AbstractFactory/Json/Picture.php b/AbstractFactory/Json/Picture.php index c782238..179aa3a 100644 --- a/AbstractFactory/Json/Picture.php +++ b/AbstractFactory/Json/Picture.php @@ -8,8 +8,6 @@ use DesignPatterns\AbstractFactory\Picture as BasePicture; * Class Picture * * Picture is a concrete image for JSON rendering - * - * @package DesignPatterns\AbstractFactory\Json */ class Picture extends BasePicture { @@ -24,4 +22,4 @@ class Picture extends BasePicture return json_encode(array('title' => $this->_name, 'path' => $this->_path)); } -} \ No newline at end of file +} diff --git a/AbstractFactory/Json/Text.php b/AbstractFactory/Json/Text.php index cc85511..91115e8 100644 --- a/AbstractFactory/Json/Text.php +++ b/AbstractFactory/Json/Text.php @@ -8,8 +8,6 @@ use DesignPatterns\AbstractFactory\Text as BaseText; * Class Text * * Text is a text component with a JSON rendering - * - * @package DesignPatterns\AbstractFactory\Json */ class Text extends BaseText { @@ -24,4 +22,4 @@ class Text extends BaseText return json_encode(array('content' => $this->_text)); } -} \ No newline at end of file +} diff --git a/AbstractFactory/JsonFactory.php b/AbstractFactory/JsonFactory.php index c4232ef..814fbaf 100644 --- a/AbstractFactory/JsonFactory.php +++ b/AbstractFactory/JsonFactory.php @@ -7,8 +7,6 @@ namespace DesignPatterns\AbstractFactory; * * JsonFactory is a factory for creating a family of JSON component * (example for ajax) - * - * @package DesignPatterns\AbstractFactory */ class JsonFactory extends AbstractFactory { @@ -37,4 +35,4 @@ class JsonFactory extends AbstractFactory return new Json\Text($content); } -} \ No newline at end of file +} diff --git a/AbstractFactory/Media.php b/AbstractFactory/Media.php index 5cf0f3a..53a66c1 100644 --- a/AbstractFactory/Media.php +++ b/AbstractFactory/Media.php @@ -7,8 +7,6 @@ namespace DesignPatterns\AbstractFactory; * * This contract is not part of the pattern, in general case, each component * are not related - * - * @package DesignPatterns\AbstractFactory */ interface Media { diff --git a/AbstractFactory/Picture.php b/AbstractFactory/Picture.php index 261f6c7..6d9647e 100644 --- a/AbstractFactory/Picture.php +++ b/AbstractFactory/Picture.php @@ -4,8 +4,6 @@ namespace DesignPatterns\AbstractFactory; /** * Class Picture - * - * @package DesignPatterns\AbstractFactory */ abstract class Picture implements Media { diff --git a/AbstractFactory/Text.php b/AbstractFactory/Text.php index bfa4ea4..a45d7f2 100644 --- a/AbstractFactory/Text.php +++ b/AbstractFactory/Text.php @@ -4,8 +4,6 @@ namespace DesignPatterns\AbstractFactory; /** * Class Text - * - * @package DesignPatterns\AbstractFactory */ abstract class Text implements Media {