Skip to content

Commit

Permalink
Code Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Sep 30, 2023
1 parent d8b5d24 commit 4cc44ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/MimeDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ public static function singleton(): MimeDb
*/
protected function initializeDatabase(): MimeDb
{
if ($this->loadedDatabase()) {
return $this;
if (!$this->loadedDatabase()) {
$this->loadDatabase();
}

$this->loadDatabase();

return $this;
}

Expand Down

0 comments on commit 4cc44ce

Please sign in to comment.