Skip to content

Commit ca16b59

Browse files
authored
Fix undefined variable : $type.
1 parent 6e7c1f7 commit ca16b59

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)