diff options
Diffstat (limited to 'wp-includes/l10n/class-wp-translation-file.php')
-rw-r--r-- | wp-includes/l10n/class-wp-translation-file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/l10n/class-wp-translation-file.php b/wp-includes/l10n/class-wp-translation-file.php index e550f9c..199fdca 100644 --- a/wp-includes/l10n/class-wp-translation-file.php +++ b/wp-includes/l10n/class-wp-translation-file.php @@ -81,7 +81,7 @@ abstract class WP_Translation_File { * @param string|null $filetype Optional. File type. Default inferred from file name. * @return false|WP_Translation_File */ - public static function create( string $file, string $filetype = null ) { + public static function create( string $file, ?string $filetype = null ) { if ( ! is_readable( $file ) ) { return false; } |