Pull merge.
[yaffs-website] / web / core / modules / block_content / src / Tests / BlockContentTestBase.php
index 3794478d52f9f7f6048c670b8a2ff290467096c4..a60ab91d4bf6a4de41846a221187cc2b95a09760 100644 (file)
@@ -16,6 +16,8 @@ abstract class BlockContentTestBase extends WebTestBase {
 
   /**
    * Profile to use.
+   *
+   * @var string
    */
   protected $profile = 'testing';
 
@@ -32,7 +34,7 @@ abstract class BlockContentTestBase extends WebTestBase {
    * @var array
    */
   protected $permissions = [
-    'administer blocks'
+    'administer blocks',
   ];
 
   /**
@@ -81,7 +83,7 @@ abstract class BlockContentTestBase extends WebTestBase {
     $block_content = BlockContent::create([
       'info' => $title,
       'type' => $bundle,
-      'langcode' => 'en'
+      'langcode' => 'en',
     ]);
     if ($block_content && $save === TRUE) {
       $block_content->save();