File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/com/jetbrains/php/tools/quality/phpstan Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 88
99import java .util .function .Supplier ;
1010
11- public final class PhpStanBundle extends DynamicBundle {
12- @ NonNls public static final String BUNDLE = "messages.PhpStanBundle" ;
13- private static final PhpStanBundle INSTANCE = new PhpStanBundle ( );
11+ public final class PhpStanBundle {
12+ public static final @ NonNls String BUNDLE = "messages.PhpStanBundle" ;
13+ private static final DynamicBundle INSTANCE = new DynamicBundle ( PhpStanBundle . class , BUNDLE );
1414
15- private PhpStanBundle () { super ( BUNDLE ); }
15+ private PhpStanBundle () {}
1616
17- @ NotNull
18- public static @ Nls String message (@ NotNull @ PropertyKey (resourceBundle = BUNDLE ) String key , Object @ NotNull ... params ) {
17+ public static @ NotNull @ Nls String message (@ NotNull @ PropertyKey (resourceBundle = BUNDLE ) String key , Object @ NotNull ... params ) {
1918 return INSTANCE .getMessage (key , params );
2019 }
2120
22- @ NotNull
23- public static Supplier <@ Nls String > messagePointer (@ NotNull @ PropertyKey (resourceBundle = BUNDLE ) String key , Object @ NotNull ... params ) {
21+ public static @ NotNull Supplier <@ Nls String > messagePointer (@ NotNull @ PropertyKey (resourceBundle = BUNDLE ) String key , Object @ NotNull ... params ) {
2422 return INSTANCE .getLazyMessage (key , params );
2523 }
2624}
You can’t perform that action at this time.
0 commit comments