Skip to content

Commit

Permalink
Fix PHPStan by using correct type (#6071)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpott authored Jul 23, 2024
1 parent 151b704 commit 5e5607a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drupal/Migrate/MigrateExecutable.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MigrateExecutable extends MigrateExecutableBase
/**
* Frequency (in items) at which progress messages should be emitted.
*/
protected ?string $feedback;
protected ?int $feedback;

/**
* Show timestamp in progress message.
Expand Down Expand Up @@ -136,7 +136,7 @@ public function __construct(MigrationInterface $migration, MigrateMessageInterfa

$this->output = $output;
$this->limit = $options['limit'];
$this->feedback = $options['feedback'];
$this->feedback = $options['feedback'] ? intval($options['feedback']) : null;
$this->showTimestamp = $options['timestamp'];
$this->showTotal = $options['total'];
// Deleting the missing source rows is not compatible with options that
Expand Down

0 comments on commit 5e5607a

Please sign in to comment.