diff --git a/meta/stubs/DefaultGrammars.php.stub b/meta/stubs/DefaultGrammars.php.stub index 1c82dc01..f4094d89 100644 --- a/meta/stubs/DefaultGrammars.php.stub +++ b/meta/stubs/DefaultGrammars.php.stub @@ -4,12 +4,12 @@ namespace Phiki\Grammar; abstract class DefaultGrammars { - final const array NAMES_TO_PATHS = [ + final const NAMES_TO_PATHS = [ 'txt' => __DIR__ . '/../../resources/languages/txt.json', %s ]; - final const array SCOPES_TO_NAMES = [ + final const SCOPES_TO_NAMES = [ 'text.txt' => 'txt', %s ]; diff --git a/meta/stubs/DefaultThemes.php.stub b/meta/stubs/DefaultThemes.php.stub index 2446a366..69bfac90 100644 --- a/meta/stubs/DefaultThemes.php.stub +++ b/meta/stubs/DefaultThemes.php.stub @@ -4,5 +4,5 @@ namespace Phiki\Theme; abstract class DefaultThemes { - final const array NAMES_TO_PATHS = [%s]; + final const NAMES_TO_PATHS = [%s]; } \ No newline at end of file diff --git a/src/Grammar/DefaultGrammars.php b/src/Grammar/DefaultGrammars.php index e5a51d85..98aa032e 100644 --- a/src/Grammar/DefaultGrammars.php +++ b/src/Grammar/DefaultGrammars.php @@ -4,7 +4,7 @@ abstract class DefaultGrammars { - final const array NAMES_TO_PATHS = [ + final const NAMES_TO_PATHS = [ 'txt' => __DIR__.'/../../resources/languages/txt.json', 'astro' => __DIR__.'/../../resources/languages/astro.json', 'hy' => __DIR__.'/../../resources/languages/hy.json', @@ -221,7 +221,7 @@ abstract class DefaultGrammars 'asm' => __DIR__.'/../../resources/languages/asm.json', ]; - final const array SCOPES_TO_NAMES = [ + final const SCOPES_TO_NAMES = [ 'text.txt' => 'txt', 'source.astro' => 'astro', 'source.hy' => 'hy', diff --git a/src/Theme/DefaultThemes.php b/src/Theme/DefaultThemes.php index 678a3104..dffc70ed 100644 --- a/src/Theme/DefaultThemes.php +++ b/src/Theme/DefaultThemes.php @@ -4,7 +4,7 @@ abstract class DefaultThemes { - final const array NAMES_TO_PATHS = ['one-dark-pro' => __DIR__.'/../../resources/themes/one-dark-pro.json', + final const NAMES_TO_PATHS = ['one-dark-pro' => __DIR__.'/../../resources/themes/one-dark-pro.json', 'solarized-light' => __DIR__.'/../../resources/themes/solarized-light.json', 'vitesse-black' => __DIR__.'/../../resources/themes/vitesse-black.json', 'github-light-default' => __DIR__.'/../../resources/themes/github-light-default.json',