We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a324a22 commit 4d45986Copy full SHA for 4d45986
src/Config/Elastic.neon
@@ -199,5 +199,8 @@ services:
199
nullHandler:
200
class: Spameri\Elastic\Import\RunHandler\NullHandler
201
202
+ consoleHandler:
203
+ class: Spameri\Elastic\Import\RunHandler\ConsoleHandler
204
+
205
nullAfterImport:
206
class: Spameri\Elastic\Import\AfterImport\NullAfterImport
src/Import/RunHandler/ConsoleHandler.php
@@ -12,7 +12,7 @@ public function advance(
12
): void
13
{
14
$progressBar->advance();
15
- if ($progressBar->getProgress() % 100) {
+ if ($progressBar->getProgress() % 100 === 0) {
16
$progressBar->display();
17
}
18
0 commit comments