From ed86172814c02747b7036745f0411e34998c6f4a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 6 May 2010 05:59:31 +0000 Subject: #331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting. --- modules/simpletest/drupal_web_test_case.php | 14 +++++++------- modules/simpletest/tests/ajax_forms_test.module | 4 ++-- modules/simpletest/tests/batch.test | 2 +- modules/simpletest/tests/database_test.test | 2 +- modules/simpletest/tests/system_test.module | 2 +- modules/simpletest/tests/xmlrpc.test | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index d7d95869b..16e661f15 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -837,7 +837,7 @@ class DrupalWebTestCase extends DrupalTestCase { 'locked' => 0, ); $type = $forced + $settings + $defaults; - $type = (object)$type; + $type = (object) $type; $saved_type = node_type_save($type); node_types_rebuild(); @@ -1866,8 +1866,8 @@ class DrupalWebTestCase extends DrupalTestCase { $name = (string) $element['name']; // This can either be the type of or the name of the tag itself // for