Skip to content

Commit

Permalink
fix: fixed flag
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKoehnen committed Nov 17, 2022
1 parent 918e225 commit 019abbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getBasename(): string

public function getExtension(): string
{
return pathinfo($this->getPath(), 'extension');
return pathinfo($this->getPath(), PATHINFO_EXTENSION);
}

public function __toString(): string
Expand Down

0 comments on commit 019abbc

Please sign in to comment.