Skip to content

Commit bbd5df9

Browse files
authored
Merge pull request #4 from reshadman/patch-1
Fix undefined variable : $type.
2 parents 7533954 + ca16b59 commit bbd5df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository/AbstractRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function findTypes($extension)
7777
public function findType($extension)
7878
{
7979
// Get all matching extensions.
80-
$types = $this->findTypes($type);
80+
$types = $this->findTypes($extension);
8181

8282
if (count($types) > 0) {
8383
// Return first match.

0 commit comments

Comments
 (0)