Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / entity_test_update / entity_test_update.module
index bd674dd7a6baf9c7d552a28b0a8055cdfd235ac2..dbcebf03f5e01a2c68aedfe4babe3315d06f6374 100644 (file)
@@ -99,7 +99,7 @@ function entity_test_update_entity_presave(EntityInterface $entity) {
  */
 function _entity_test_update_create_test_entities($start = 1, $end = 50, $add_translation = FALSE) {
   for ($i = $start; $i <= $end; $i++) {
-    $entity  = EntityTestUpdate::create([
+    $entity = EntityTestUpdate::create([
       'id' => $i,
       'name' => $i,
       'test_single_property' => $i . ' - test single property',