Skip to content

Commit 8c8e46c

Browse files
authored
Apply suggestion from @swissspidy
1 parent 6582da5 commit 8c8e46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsStringFilterTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function remove_js_only_strings( Translations $translations ): void {
3131
$file = $reference[0];
3232
$extension = '.' . strtolower( pathinfo( $file, PATHINFO_EXTENSION ) );
3333

34-
if ( ! in_array( $extension, self::$js_extensions, true ) ) {
34+
if ( ! in_array( $extension, static::$js_extensions, true ) ) {
3535
$has_non_js_reference = true;
3636
break;
3737
}

0 commit comments

Comments
 (0)