Skip to content

Commit

Permalink
Psalm fix
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored and backportbot-nextcloud[bot] committed Nov 1, 2023
1 parent 36108e8 commit e45b3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model/Circle.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ public function importFromDatabase(array $data, string $prefix = ''): IQueryRow

$creation = $this->get($prefix . 'creation', $data);
$dateTime = DateTime::createFromFormat('Y-m-d H:i:s', $creation);
$timestamp = $dateTime ? $dateTime->getTimestamp() : (int) strtotime('Y-m-d H:i:s', $creation);
$timestamp = $dateTime ? $dateTime->getTimestamp() : (int) strtotime($creation);
$this->setCreation($timestamp);

$this->setPopulation($this->getInt('population', $this->getSettings()));
Expand Down

0 comments on commit e45b3c3

Please sign in to comment.