From 2fbd34c0dece20061b00ee9a29b008ddf62fee9a Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Thu, 6 Feb 2014 20:39:55 -0500 Subject: [PATCH] CS fix. --- apps/basic/tests/_pages/ContactPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/basic/tests/_pages/ContactPage.php b/apps/basic/tests/_pages/ContactPage.php index bc80269b05..05a014691e 100644 --- a/apps/basic/tests/_pages/ContactPage.php +++ b/apps/basic/tests/_pages/ContactPage.php @@ -14,9 +14,9 @@ class ContactPage extends BasePage public function submit(array $contactData) { foreach ($contactData as $field => $value) { - $inputType = ($field == 'body') ? 'textarea' : 'input'; - $this->guy->fillField($inputType.'[name="ContactForm[' . $field . ']"]', $value); + $inputType = $field === 'body' ? 'textarea' : 'input'; + $this->guy->fillField($inputType . '[name="ContactForm[' . $field . ']"]', $value); } - $this->guy->click('Submit','#contact-form'); + $this->guy->click('Submit', '#contact-form'); } }