| @@ -246,7 +246,7 @@ | ||
| 246 | 246 | // If this install is 3.1 then the settings column won’t be there, | 
| 247 | 247 | // so we need to bail. However, if upgrading from 2.x then we should | 
| 248 | 248 | // hopefully be on 3.0.x first. | 
| 249 | -        if (substr( Craft::$app->getVersion(), 0, 3 ) !== "3.0") { | |
| 249 | +        if (substr(Craft::$app->getVersion(), 0, 3) !== "3.0") { | |
| 250 | 250 | return false; | 
| 251 | 251 | } | 
| 252 | 252 | |
| @@ -239,7 +239,7 @@ discard block | ||
| 239 | 239 | $configData['fieldLayout'] = null; | 
| 240 | 240 | } | 
| 241 | 241 | |
| 242 | - $configPath = self::CONFIG_BLOCKTYPE_KEY . '.' . $blockType->uid; | |
| 242 | + $configPath = self::CONFIG_BLOCKTYPE_KEY.'.'.$blockType->uid; | |
| 243 | 243 | |
| 244 | 244 | Craft::$app->projectConfig->set($configPath, $configData); | 
| 245 | 245 | |
| @@ -268,7 +268,7 @@ discard block | ||
| 268 | 268 | $blockTypes = $this->getByContext($context, null, false, $fieldId); | 
| 269 | 269 | |
| 270 | 270 |          foreach ($blockTypes as $blockType) { | 
| 271 | - Craft::$app->getProjectConfig()->remove(self::CONFIG_BLOCKTYPE_KEY . '.' . $blockType->uid); | |
| 271 | + Craft::$app->getProjectConfig()->remove(self::CONFIG_BLOCKTYPE_KEY.'.'.$blockType->uid); | |
| 272 | 272 | } | 
| 273 | 273 | |
| 274 | 274 | return true; | 
| @@ -397,7 +397,7 @@ discard block | ||
| 397 | 397 | |
| 398 | 398 | $fieldLayoutConfig = $fieldLayout->getConfig(); | 
| 399 | 399 | |
| 400 | - $configPath = self::CONFIG_BLOCKTYPE_KEY . '.' . $blockType->uid . '.fieldLayout'; | |
| 400 | + $configPath = self::CONFIG_BLOCKTYPE_KEY.'.'.$blockType->uid.'.fieldLayout'; | |
| 401 | 401 | |
| 402 | 402 | Craft::$app->projectConfig->set($configPath, [ | 
| 403 | 403 | $layoutUid => $fieldLayoutConfig |