diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-03 10:59:55 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-03 11:15:44 +0100 |
commit | 8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2 (patch) | |
tree | 0468cbda100277f573e4f0f8ce02f8af3f42ccad /src/Wallabag/ImportBundle | |
parent | c5c7f90a81d7a2082c7b6dad38c2a6dfdba8d016 (diff) | |
download | wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.gz wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.zst wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.zip |
Few phpDoc fix
And some little mistakes
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/PocketImport.php | 3 | ||||
-rw-r--r-- | src/Wallabag/ImportBundle/Import/WallabagV1Import.php | 2 |
2 files changed, 3 insertions, 2 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 | } |
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV1Import.php b/src/Wallabag/ImportBundle/Import/WallabagV1Import.php index aff5af40..0866ebe9 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagV1Import.php +++ b/src/Wallabag/ImportBundle/Import/WallabagV1Import.php | |||
@@ -149,7 +149,7 @@ class WallabagV1Import implements ImportInterface | |||
149 | 149 | ||
150 | // flush every 20 entries | 150 | // flush every 20 entries |
151 | if (($i % 20) === 0) { | 151 | if (($i % 20) === 0) { |
152 | $em->flush(); | 152 | $this->em->flush(); |
153 | } | 153 | } |
154 | ++$i; | 154 | ++$i; |
155 | } | 155 | } |