Skip to content

Commit b7c6166

Browse files
committed
#reader-interface fixed factory method
1 parent 88e5ece commit b7c6166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PHPExif/Reader/Reader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static function factory($type)
9191
);
9292
break;
9393
}
94-
return $classname($adapter);
94+
return new $classname($adapter);
9595
}
9696

9797
/**

0 commit comments

Comments
 (0)