diff options
Diffstat (limited to 'extensions/php-language-features/src/features/validationProvider.ts')
-rw-r--r-- | extensions/php-language-features/src/features/validationProvider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/php-language-features/src/features/validationProvider.ts b/extensions/php-language-features/src/features/validationProvider.ts index acc6beaf2b5..162efdaa787 100644 --- a/extensions/php-language-features/src/features/validationProvider.ts +++ b/extensions/php-language-features/src/features/validationProvider.ts @@ -23,7 +23,7 @@ export class LineDecoder { private stringDecoder: StringDecoder; private remaining: string | null; - constructor(encoding: string = 'utf8') { + constructor(encoding: BufferEncoding = 'utf8') { this.stringDecoder = new StringDecoder(encoding); this.remaining = null; } |