Skip to content

Commit 78d718a

Browse files
committed
Fixed typo in variable name
1 parent fca9e53 commit 78d718a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Classes/PHPWord/Shared/File.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ private static function fallbackImagetype($filename)
102102
* Return the Image Type from a file
103103
*
104104
* @param string $filename
105-
* @param bool $userFallbackFunction
105+
* @param bool $useFallbackFunction
106106
* @return int|bool
107107
*/
108-
public static function imagetype($filename, $userFallbackFunction = false)
108+
public static function imagetype($filename, $useFallbackFunction = false)
109109
{
110-
if ($userFallbackFunction || !function_exists('exif_imagetype')) {
110+
if ($useFallbackFunction || !function_exists('exif_imagetype')) {
111111
return self::fallbackImagetype($filename);
112112
}
113113

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
* @version ##VERSION##, ##DATE##
2323
**************************************************************************************
2424

25+
Changes in branch for release 0.9.0 :
26+
- QA: (Progi1984) - Documentation
27+
2528
Changes in branch for release 0.8.1 :
2629
- Feature: (bskrtich, gabrielbull) - Added fallback for computers that do not have exif_imagetype
2730

0 commit comments

Comments
 (0)