lint: fix php

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/504/head
Varun Patil 2023-03-16 23:34:13 -07:00
parent f2d22d7e43
commit 94bb94f34d
1 changed files with 2 additions and 2 deletions

View File

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