From 339c074926f2ecfb3d71686e4acc6dd1957dfaa4 Mon Sep 17 00:00:00 2001 From: Michael Kliewe Date: Sat, 11 Aug 2012 11:27:30 +0200 Subject: [PATCH] removed all "@return void" in constructors --- src/Reader/AbstractEntry.php | 1 - src/Reader/Entry/AbstractEntry.php | 1 - src/Reader/Entry/Atom.php | 1 - src/Reader/Entry/Rss.php | 1 - src/Writer/AbstractFeed.php | 1 - src/Writer/Entry.php | 1 - src/Writer/Renderer/AbstractRenderer.php | 1 - src/Writer/Renderer/Entry/Atom/Deleted.php | 1 - src/Writer/Renderer/Entry/AtomDeleted.php | 1 - src/Writer/Renderer/Entry/Rss.php | 1 - src/Writer/Renderer/Feed/AbstractAtom.php | 1 - src/Writer/Renderer/Feed/Atom.php | 1 - src/Writer/Renderer/Feed/Atom/AbstractAtom.php | 1 - src/Writer/Renderer/Feed/Atom/Source.php | 1 - src/Writer/Renderer/Feed/AtomSource.php | 1 - src/Writer/Renderer/Feed/Rss.php | 1 - test/Reader/Entry/_files/Common/atom.xml | 1 - test/Reader/Entry/_files/Common/atom_noencodingdefined.xml | 1 - test/Reader/Entry/_files/Common/rss.xml | 1 - test/Reader/Feed/_files/Common/atom.xml | 1 - test/Reader/Feed/_files/Common/atom_noencodingdefined.xml | 1 - test/Reader/Feed/_files/Common/atom_rewrittenbydom.xml | 1 - test/Reader/Feed/_files/Common/rss.xml | 1 - test/Reader/Integration/_files/wordpress-atom10.xml | 1 - test/Reader/Integration/_files/wordpress-rss2-dc-atom.xml | 1 - 25 files changed, 25 deletions(-) diff --git a/src/Reader/AbstractEntry.php b/src/Reader/AbstractEntry.php index a52f147c..fdb673f2 100644 --- a/src/Reader/AbstractEntry.php +++ b/src/Reader/AbstractEntry.php @@ -68,7 +68,6 @@ abstract class AbstractEntry * @param DOMElement $entry * @param int $entryKey * @param null|string $type - * @return void */ public function __construct(DOMElement $entry, $entryKey, $type = null) { diff --git a/src/Reader/Entry/AbstractEntry.php b/src/Reader/Entry/AbstractEntry.php index bfa38acf..5a21d5e8 100644 --- a/src/Reader/Entry/AbstractEntry.php +++ b/src/Reader/Entry/AbstractEntry.php @@ -70,7 +70,6 @@ abstract class AbstractEntry * @param DOMElement $entry * @param int $entryKey * @param string $type - * @return void */ public function __construct(DOMElement $entry, $entryKey, $type = null) { diff --git a/src/Reader/Entry/Atom.php b/src/Reader/Entry/Atom.php index a774c1b9..ec966292 100644 --- a/src/Reader/Entry/Atom.php +++ b/src/Reader/Entry/Atom.php @@ -33,7 +33,6 @@ class Atom extends AbstractEntry implements EntryInterface * @param DOMElement $entry * @param int $entryKey * @param string $type - * @return void */ public function __construct(DOMElement $entry, $entryKey, $type = null) { diff --git a/src/Reader/Entry/Rss.php b/src/Reader/Entry/Rss.php index 7d54cea4..586a5f6a 100644 --- a/src/Reader/Entry/Rss.php +++ b/src/Reader/Entry/Rss.php @@ -43,7 +43,6 @@ class Rss extends AbstractEntry implements EntryInterface * @param DOMElement $entry * @param string $entryKey * @param string $type - * @return void */ public function __construct(DOMElement $entry, $entryKey, $type = null) { diff --git a/src/Writer/AbstractFeed.php b/src/Writer/AbstractFeed.php index 2935e4c8..555686c2 100644 --- a/src/Writer/AbstractFeed.php +++ b/src/Writer/AbstractFeed.php @@ -44,7 +44,6 @@ class AbstractFeed * Constructor: Primarily triggers the registration of core extensions and * loads those appropriate to this data container. * - * @return void */ public function __construct() { diff --git a/src/Writer/Entry.php b/src/Writer/Entry.php index 17211719..2e5bfee2 100644 --- a/src/Writer/Entry.php +++ b/src/Writer/Entry.php @@ -47,7 +47,6 @@ class Entry * Constructor: Primarily triggers the registration of core extensions and * loads those appropriate to this data container. * - * @return void */ public function __construct() { diff --git a/src/Writer/Renderer/AbstractRenderer.php b/src/Writer/Renderer/AbstractRenderer.php index 60fb63bb..7704ecde 100644 --- a/src/Writer/Renderer/AbstractRenderer.php +++ b/src/Writer/Renderer/AbstractRenderer.php @@ -70,7 +70,6 @@ class AbstractRenderer * Constructor * * @param mixed $container - * @return void */ public function __construct($container) { diff --git a/src/Writer/Renderer/Entry/Atom/Deleted.php b/src/Writer/Renderer/Entry/Atom/Deleted.php index db800926..294f1b4f 100644 --- a/src/Writer/Renderer/Entry/Atom/Deleted.php +++ b/src/Writer/Renderer/Entry/Atom/Deleted.php @@ -26,7 +26,6 @@ class Deleted * Constructor * * @param \Zend\Feed\Writer\Deleted $container - * @return void */ public function __construct (\Zend\Feed\Writer\Deleted $container) { diff --git a/src/Writer/Renderer/Entry/AtomDeleted.php b/src/Writer/Renderer/Entry/AtomDeleted.php index e59e2aba..be7d0f0b 100644 --- a/src/Writer/Renderer/Entry/AtomDeleted.php +++ b/src/Writer/Renderer/Entry/AtomDeleted.php @@ -26,7 +26,6 @@ class AtomDeleted extends Renderer\AbstractRenderer implements Renderer\Renderer * Constructor * * @param Writer\Deleted $container - * @return void */ public function __construct (Writer\Deleted $container) { diff --git a/src/Writer/Renderer/Entry/Rss.php b/src/Writer/Renderer/Entry/Rss.php index 5dd6ae61..cc5b1f73 100644 --- a/src/Writer/Renderer/Entry/Rss.php +++ b/src/Writer/Renderer/Entry/Rss.php @@ -27,7 +27,6 @@ class Rss extends Renderer\AbstractRenderer implements Renderer\RendererInterfac * Constructor * * @param Writer\Entry $container - * @return void */ public function __construct (Writer\Entry $container) { diff --git a/src/Writer/Renderer/Feed/AbstractAtom.php b/src/Writer/Renderer/Feed/AbstractAtom.php index db8ba0ba..6531ca87 100644 --- a/src/Writer/Renderer/Feed/AbstractAtom.php +++ b/src/Writer/Renderer/Feed/AbstractAtom.php @@ -27,7 +27,6 @@ class AbstractAtom extends Renderer\AbstractRenderer * Constructor * * @param Zend_Feed_Writer_Feed $container - * @return void */ public function __construct ($container) { diff --git a/src/Writer/Renderer/Feed/Atom.php b/src/Writer/Renderer/Feed/Atom.php index 0e95f01b..87bacf3f 100644 --- a/src/Writer/Renderer/Feed/Atom.php +++ b/src/Writer/Renderer/Feed/Atom.php @@ -24,7 +24,6 @@ class Atom extends AbstractAtom implements Renderer\RendererInterface * Constructor * * @param Writer\Feed $container - * @return void */ public function __construct (Writer\Feed $container) { diff --git a/src/Writer/Renderer/Feed/Atom/AbstractAtom.php b/src/Writer/Renderer/Feed/Atom/AbstractAtom.php index f57c9213..5569f456 100644 --- a/src/Writer/Renderer/Feed/Atom/AbstractAtom.php +++ b/src/Writer/Renderer/Feed/Atom/AbstractAtom.php @@ -26,7 +26,6 @@ class AbstractAtom extends Feed\Writer\Renderer\AbstractRenderer * Constructor * * @param \Zend\Feed\Writer\Feed $container - * @return void */ public function __construct ($container) { diff --git a/src/Writer/Renderer/Feed/Atom/Source.php b/src/Writer/Renderer/Feed/Atom/Source.php index 51e3e4bd..c545fd54 100644 --- a/src/Writer/Renderer/Feed/Atom/Source.php +++ b/src/Writer/Renderer/Feed/Atom/Source.php @@ -24,7 +24,6 @@ class Source extends AbstractAtom implements \Zend\Feed\Writer\Renderer\Renderer * Constructor * * @param \Zend\Feed\Writer\Source $container - * @return void */ public function __construct (\Zend\Feed\Writer\Source $container) { diff --git a/src/Writer/Renderer/Feed/AtomSource.php b/src/Writer/Renderer/Feed/AtomSource.php index 5010495a..a8dca0e3 100644 --- a/src/Writer/Renderer/Feed/AtomSource.php +++ b/src/Writer/Renderer/Feed/AtomSource.php @@ -26,7 +26,6 @@ class AtomSource extends AbstractAtom implements Renderer\RendererInterface * Constructor * * @param Zend_Feed_Writer_Feed_Source $container - * @return void */ public function __construct (Writer\Source $container) { diff --git a/src/Writer/Renderer/Feed/Rss.php b/src/Writer/Renderer/Feed/Rss.php index 26e7b017..0f48ff79 100644 --- a/src/Writer/Renderer/Feed/Rss.php +++ b/src/Writer/Renderer/Feed/Rss.php @@ -28,7 +28,6 @@ class Rss extends Renderer\AbstractRenderer implements Renderer\RendererInterfac * Constructor * * @param Zend_Feed_Writer_Feed $container - * @return void */ public function __construct (Writer\Feed $container) { diff --git a/test/Reader/Entry/_files/Common/atom.xml b/test/Reader/Entry/_files/Common/atom.xml index 29c4fe30..b4236842 100644 --- a/test/Reader/Entry/_files/Common/atom.xml +++ b/test/Reader/Entry/_files/Common/atom.xml @@ -525,7 +525,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Entry/_files/Common/atom_noencodingdefined.xml b/test/Reader/Entry/_files/Common/atom_noencodingdefined.xml index 69dcd46b..02084ab6 100644 --- a/test/Reader/Entry/_files/Common/atom_noencodingdefined.xml +++ b/test/Reader/Entry/_files/Common/atom_noencodingdefined.xml @@ -525,7 +525,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Entry/_files/Common/rss.xml b/test/Reader/Entry/_files/Common/rss.xml index 75f0e70c..f8bb28ea 100644 --- a/test/Reader/Entry/_files/Common/rss.xml +++ b/test/Reader/Entry/_files/Common/rss.xml @@ -504,7 +504,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Feed/_files/Common/atom.xml b/test/Reader/Feed/_files/Common/atom.xml index 29c4fe30..b4236842 100644 --- a/test/Reader/Feed/_files/Common/atom.xml +++ b/test/Reader/Feed/_files/Common/atom.xml @@ -525,7 +525,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Feed/_files/Common/atom_noencodingdefined.xml b/test/Reader/Feed/_files/Common/atom_noencodingdefined.xml index 69dcd46b..02084ab6 100644 --- a/test/Reader/Feed/_files/Common/atom_noencodingdefined.xml +++ b/test/Reader/Feed/_files/Common/atom_noencodingdefined.xml @@ -525,7 +525,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Feed/_files/Common/atom_rewrittenbydom.xml b/test/Reader/Feed/_files/Common/atom_rewrittenbydom.xml index 378e71b4..b560b108 100644 --- a/test/Reader/Feed/_files/Common/atom_rewrittenbydom.xml +++ b/test/Reader/Feed/_files/Common/atom_rewrittenbydom.xml @@ -521,7 +521,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Feed/_files/Common/rss.xml b/test/Reader/Feed/_files/Common/rss.xml index 75f0e70c..f8bb28ea 100644 --- a/test/Reader/Feed/_files/Common/rss.xml +++ b/test/Reader/Feed/_files/Common/rss.xml @@ -504,7 +504,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Integration/_files/wordpress-atom10.xml b/test/Reader/Integration/_files/wordpress-atom10.xml index 29c4fe30..b4236842 100644 --- a/test/Reader/Integration/_files/wordpress-atom10.xml +++ b/test/Reader/Integration/_files/wordpress-atom10.xml @@ -525,7 +525,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) { diff --git a/test/Reader/Integration/_files/wordpress-rss2-dc-atom.xml b/test/Reader/Integration/_files/wordpress-rss2-dc-atom.xml index 75f0e70c..f8bb28ea 100644 --- a/test/Reader/Integration/_files/wordpress-rss2-dc-atom.xml +++ b/test/Reader/Integration/_files/wordpress-rss2-dc-atom.xml @@ -504,7 +504,6 @@ class Wp_Amf_Gateway * * @param array $dbConfig * @param string $prefix - * @return void */ public function __construct(array $dbConfig, $prefix) {