From 7ed8d75d821b7ab1780b87beab40456f69c4429c Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Thu, 22 Jan 2015 12:12:26 -0800 Subject: [PATCH] Issue #1811226 by Mile23: Add missing type hinting to Contact module docblocks --- core/modules/contact/src/Tests/ContactPersonalTest.php | 4 ++-- core/modules/contact/src/Tests/ContactSitewideTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php index 1cc09fe3661..a1229d128e1 100644 --- a/core/modules/contact/src/Tests/ContactPersonalTest.php +++ b/core/modules/contact/src/Tests/ContactPersonalTest.php @@ -259,9 +259,9 @@ class ContactPersonalTest extends WebTestBase { /** * Creates a user and then checks contact form access. * - * @param integer $response + * @param int $response * The expected response code. - * @param boolean $contact_value + * @param bool $contact_value * (optional) The value the contact field should be set too. */ protected function checkContactAccess($response, $contact_value = NULL) { diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index 4757a45a829..2179ff6c225 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -333,7 +333,7 @@ class ContactSitewideTest extends WebTestBase { * @param string $reply * The auto-reply text that is sent to a user upon completing the contact * form. - * @param boolean $selected + * @param bool $selected * A Boolean indicating whether the form should be selected by default. * @param array $third_party_settings * Array of third party settings to be added to the posted form data. @@ -361,7 +361,7 @@ class ContactSitewideTest extends WebTestBase { * @param string $reply * The auto-reply text that is sent to a user upon completing the contact * form. - * @param boolean $selected + * @param bool $selected * A Boolean indicating whether the form should be selected by default. */ function updateContactForm($id, $label, $recipients, $reply, $selected) {