diff --git a/lib/Command/MigrateGoogleTakeout.php b/lib/Command/MigrateGoogleTakeout.php index ac3d0f96..b63bf5b0 100644 --- a/lib/Command/MigrateGoogleTakeout.php +++ b/lib/Command/MigrateGoogleTakeout.php @@ -243,7 +243,7 @@ class MigrateGoogleTakeout extends Command return; } - $this->nProcessed++; + ++$this->nProcessed; } protected function takeoutToExiftoolJson(array $json) @@ -285,7 +285,7 @@ class MigrateGoogleTakeout extends Command $epoch = $get('photoTakenTime.timestamp'); if (is_numeric($epoch)) { $date = new \DateTime(); - $date->setTimestamp((int)$epoch); + $date->setTimestamp((int) $epoch); $txf['DateTimeOriginal'] = $date->format('Y:m:d H:i:s'); }