@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * @inheritdoc |
134 | 134 | */ |
135 | - public static function dbType(): array|string|null |
|
135 | + public static function dbType(): array | string | null |
|
136 | 136 | { |
137 | 137 | return Schema::TYPE_TEXT; |
138 | 138 | } |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | */ |
215 | 215 | public function getSettingsHtml(): ?string |
216 | 216 | { |
217 | - $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php'); |
|
217 | + $monacoLanguages = require(__DIR__.'/MonacoLanguages.php'); |
|
218 | 218 | $schemaFilePath = Craft::getAlias('@nystudio107/codefield/resources/IEditorOptionsSchema.json'); |
219 | 219 | $optionsSchema = @file_get_contents($schemaFilePath) ?: ''; |
220 | 220 | // Render the settings template |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | /** |
258 | 258 | * @inheritdoc |
259 | 259 | */ |
260 | - public function getContentGqlType(): Type|array |
|
260 | + public function getContentGqlType(): Type | array |
|
261 | 261 | { |
262 | 262 | $typeArray = CodeDataGenerator::generateTypes($this); |
263 | 263 | |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | // Extract just the languages that have been selected for display |
310 | 310 | $displayLanguages = []; |
311 | 311 | if ($this->showLanguageDropdown) { |
312 | - $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php'); |
|
312 | + $monacoLanguages = require(__DIR__.'/MonacoLanguages.php'); |
|
313 | 313 | $decomposedLanguages = array_column($monacoLanguages, 'label', 'value'); |
314 | 314 | $displayLanguages = array_intersect_key($decomposedLanguages, array_flip($this->availableLanguages)); |
315 | 315 | // Handle "all" checkbox |
@@ -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(); |