X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FAbstractImport.php;h=1b073e99ae3be65395e88d01ea8966f350ca745f;hb=8d4ed0df0633f43fc2d65fef72c36070113844d1;hp=d39d71b6caf1e3b7def2c0b352b4ceeccdef0840;hpb=76fe5dfb7189b8f5eebf3f372718cd5e2cf286c4;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Import/AbstractImport.php b/src/Wallabag/ImportBundle/Import/AbstractImport.php index d39d71b6..1b073e99 100644 --- a/src/Wallabag/ImportBundle/Import/AbstractImport.php +++ b/src/Wallabag/ImportBundle/Import/AbstractImport.php @@ -46,8 +46,6 @@ abstract class AbstractImport implements ImportInterface /** * Set RabbitMQ/Redis Producer to send each entry to a queue. * This method should be called when user has enabled RabbitMQ. - * - * @param ProducerInterface $producer */ public function setProducer(ProducerInterface $producer) { @@ -57,8 +55,6 @@ abstract class AbstractImport implements ImportInterface /** * Set current user. * Could the current *connected* user or one retrieve by the consumer. - * - * @param User $user */ public function setUser(User $user) { @@ -112,8 +108,6 @@ abstract class AbstractImport implements ImportInterface /** * Parse one entry. * - * @param array $importedEntry - * * @return Entry */ abstract public function parseEntry(array $importedEntry); @@ -121,8 +115,6 @@ abstract class AbstractImport implements ImportInterface /** * Validate that an entry is valid (like has some required keys, etc.). * - * @param array $importedEntry - * * @return bool */ abstract public function validateEntry(array $importedEntry); @@ -149,8 +141,6 @@ abstract class AbstractImport implements ImportInterface /** * Parse and insert all given entries. - * - * @param array $entries */ protected function parseEntries(array $entries) { @@ -210,8 +200,6 @@ abstract class AbstractImport implements ImportInterface * * Faster parse entries for Producer. * We don't care to make check at this time. They'll be done by the consumer. - * - * @param array $entries */ protected function parseEntriesForProducer(array $entries) { @@ -233,8 +221,6 @@ abstract class AbstractImport implements ImportInterface * Set current imported entry to archived / read. * Implementation is different accross all imports. * - * @param array $importedEntry - * * @return array */ abstract protected function setEntryAsRead(array $importedEntry);