aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/PocketImport.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-01-03 10:59:55 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-03 11:15:44 +0100
commit8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2 (patch)
tree0468cbda100277f573e4f0f8ce02f8af3f42ccad /src/Wallabag/ImportBundle/Import/PocketImport.php
parentc5c7f90a81d7a2082c7b6dad38c2a6dfdba8d016 (diff)
downloadwallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.gz
wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.zst
wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.zip
Few phpDoc fix
And some little mistakes
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/PocketImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/PocketImport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php
index 853ad135..267c4af5 100644
--- a/src/Wallabag/ImportBundle/Import/PocketImport.php
+++ b/src/Wallabag/ImportBundle/Import/PocketImport.php
@@ -18,6 +18,7 @@ class PocketImport implements ImportInterface
18 private $em; 18 private $em;
19 private $contentProxy; 19 private $contentProxy;
20 private $logger; 20 private $logger;
21 private $client;
21 private $consumerKey; 22 private $consumerKey;
22 private $skippedEntries = 0; 23 private $skippedEntries = 0;
23 private $importedEntries = 0; 24 private $importedEntries = 0;
@@ -255,7 +256,7 @@ class PocketImport implements ImportInterface
255 256
256 // flush every 20 entries 257 // flush every 20 entries
257 if (($i % 20) === 0) { 258 if (($i % 20) === 0) {
258 $em->flush(); 259 $this->em->flush();
259 } 260 }
260 ++$i; 261 ++$i;
261 } 262 }