Passed
Pull Request — master (#71)
by
unknown
19:31 queued 15:47
created
src/migrations/Install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/services/BlockTypes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.