Skip to content

Commit fe3e846

Browse files
author
Dominik Liebler
committed
removed @Package annotations
1 parent ba78aa8 commit fe3e846

File tree

9 files changed

+6
-24
lines changed

9 files changed

+6
-24
lines changed

AbstractFactory/Html/Picture.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Class Picture
99
*
1010
* Picture is a concrete image for HTML rendering
11-
*
12-
* @package DesignPatterns\AbstractFactory\Html
1311
*/
1412
class Picture extends BasePicture
1513
{
@@ -24,4 +22,4 @@ public function render()
2422
return sprintf('<img src="%s" title="$s"/>', $this->_path, $this->_name);
2523
}
2624

27-
}
25+
}

AbstractFactory/Html/Text.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Class Text
99
*
1010
* Text is a concrete text for HTML rendering
11-
*
12-
* @package DesignPatterns\AbstractFactory\Html
1311
*/
1412
class Text extends BaseText
1513
{
@@ -24,4 +22,4 @@ public function render()
2422
return '<div>' . htmlspecialchars($this->_text) . '</div>';
2523
}
2624

27-
}
25+
}

AbstractFactory/HtmlFactory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* Class HtmlFactory
77
*
88
* HtmlFactory is a concrete factory for HTML component
9-
*
10-
* @package DesignPatterns\AbstractFactory
119
*/
1210
class HtmlFactory extends AbstractFactory
1311
{
@@ -35,4 +33,4 @@ public function createText($content)
3533
return new Html\Text($content);
3634
}
3735

38-
}
36+
}

AbstractFactory/Json/Picture.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Class Picture
99
*
1010
* Picture is a concrete image for JSON rendering
11-
*
12-
* @package DesignPatterns\AbstractFactory\Json
1311
*/
1412
class Picture extends BasePicture
1513
{
@@ -24,4 +22,4 @@ public function render()
2422
return json_encode(array('title' => $this->_name, 'path' => $this->_path));
2523
}
2624

27-
}
25+
}

AbstractFactory/Json/Text.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Class Text
99
*
1010
* Text is a text component with a JSON rendering
11-
*
12-
* @package DesignPatterns\AbstractFactory\Json
1311
*/
1412
class Text extends BaseText
1513
{
@@ -24,4 +22,4 @@ public function render()
2422
return json_encode(array('content' => $this->_text));
2523
}
2624

27-
}
25+
}

AbstractFactory/JsonFactory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* JsonFactory is a factory for creating a family of JSON component
99
* (example for ajax)
10-
*
11-
* @package DesignPatterns\AbstractFactory
1210
*/
1311
class JsonFactory extends AbstractFactory
1412
{
@@ -37,4 +35,4 @@ public function createText($content)
3735
return new Json\Text($content);
3836
}
3937

40-
}
38+
}

AbstractFactory/Media.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* This contract is not part of the pattern, in general case, each component
99
* are not related
10-
*
11-
* @package DesignPatterns\AbstractFactory
1210
*/
1311
interface Media
1412
{

AbstractFactory/Picture.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
/**
66
* Class Picture
7-
*
8-
* @package DesignPatterns\AbstractFactory
97
*/
108
abstract class Picture implements Media
119
{

AbstractFactory/Text.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
/**
66
* Class Text
7-
*
8-
* @package DesignPatterns\AbstractFactory
97
*/
108
abstract class Text implements Media
119
{

0 commit comments

Comments
 (0)