@@ -70,6 +70,6 @@ |
||
70 | 70 | public static function getName($context = null): string |
71 | 71 | { |
72 | 72 | /** @var Code $context */ |
73 | - return $context->handle . '_CodeData'; |
|
73 | + return $context->handle.'_CodeData'; |
|
74 | 74 | } |
75 | 75 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | |
6 | 6 | return static function(ECSConfig $ecsConfig): void { |
7 | 7 | $ecsConfig->paths([ |
8 | - __DIR__ . '/src', |
|
8 | + __DIR__.'/src', |
|
9 | 9 | __FILE__, |
10 | 10 | ]); |
11 | 11 | $ecsConfig->parallel(); |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | */ |
177 | 177 | public function getSettingsHtml() |
178 | 178 | { |
179 | - $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php'); |
|
179 | + $monacoLanguages = require(__DIR__.'/MonacoLanguages.php'); |
|
180 | 180 | $schemaFilePath = Craft::getAlias('@nystudio107/codefield/resources/IEditorOptionsSchema.json'); |
181 | 181 | $optionsSchema = @file_get_contents($schemaFilePath) ?: ''; |
182 | 182 | // Render the settings template |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | // Extract just the languages that have been selected for display |
285 | 285 | $displayLanguages = []; |
286 | 286 | if ($this->showLanguageDropdown) { |
287 | - $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php'); |
|
287 | + $monacoLanguages = require(__DIR__.'/MonacoLanguages.php'); |
|
288 | 288 | $decomposedLanguages = array_column($monacoLanguages, 'label', 'value'); |
289 | 289 | $displayLanguages = array_intersect_key($decomposedLanguages, array_flip($this->availableLanguages)); |
290 | 290 | // Handle "all" checkbox |