Skip to content

Commit 212d2cb

Browse files
committed
fix extension function in LfmStorageRepository
1 parent 8942b2d commit 212d2cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/LfmStorageRepository.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,9 @@ public function makeDirectory()
5050

5151
$this->disk->setVisibility($this->path, 'public');
5252
}
53+
54+
public function extension()
55+
{
56+
return pathinfo($this->path, PATHINFO_EXTENSION);
57+
}
5358
}

0 commit comments

Comments
 (0)