From 94bb94f34dc031c69b80d29a72e8d33a79ec7a67 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Thu, 16 Mar 2023 23:34:13 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/Command/MigrateGoogleTakeout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }