diff --git a/core/modules/contact/contact.admin.inc b/core/modules/contact/contact.admin.inc
index f6835f9..2aa3f90 100644
--- a/core/modules/contact/contact.admin.inc
+++ b/core/modules/contact/contact.admin.inc
@@ -40,10 +40,12 @@ function contact_category_list() {
   }
 
   if (!$rows) {
-    $rows[] = array(array(
-      'data' => t('No categories available.'),
-      'colspan' => 5,
-    ));
+    $rows[] = array(
+      array(
+        'data' => t('No categories available.'),
+        'colspan' => 5,
+      ),
+    );
   }
 
   $build['category_table'] = array(
@@ -57,7 +59,7 @@ function contact_category_list() {
 /**
  * Form constructor for the category edit form.
  *
- * @param $category
+ * @param array $category
  *   An array describing the category to be edited. May be empty for new
  *   categories. Recognized array keys are:
  *   - category: The name of the category.
@@ -186,7 +188,7 @@ function contact_category_edit_form_submit($form, &$form_state) {
 /**
  * Form constructor for the contact category deletion form.
  *
- * @param $contact
+ * @param array $contact
  *   Array describing the contact category to be deleted. See the documentation
  *   of contact_category_edit_form() for the recognized keys.
  *
diff --git a/core/modules/contact/contact.pages.inc b/core/modules/contact/contact.pages.inc
index 92d73bc..06b2c95 100644
--- a/core/modules/contact/contact.pages.inc
+++ b/core/modules/contact/contact.pages.inc
@@ -81,7 +81,7 @@ function contact_site_form($form, &$form_state) {
 
   // Do not allow authenticated usrs to alter the name or e-mail values to
   // prevent the impersonation of other users.
-  if ($user->uid){
+  if ($user->uid) {
     // Change form elements to values.
     $form['name']['#type'] = $form['mail']['#type'] = 'value';
 
@@ -182,7 +182,15 @@ function contact_site_form_submit($form, &$form_state) {
   }
 
   flood_register_event('contact', config('contact.settings')->get('flood.interval'));
-  watchdog('mail', '%sender-name (@sender-from) sent an e-mail regarding %category.', array('%sender-name' => $values['name'], '@sender-from' => $from, '%category' => $values['category']['category']));
+  watchdog(
+    'mail',
+    '%sender-name (@sender-from) sent an e-mail regarding %category.',
+    array(
+      '%sender-name' => $values['name'],
+      '@sender-from' => $from,
+      '%category' => $values['category']['category'],
+    )
+  );
 
   // Jump to home page rather than back to contact page to avoid
   // contradictory messages if flood control has been activated.
@@ -237,7 +245,7 @@ function contact_personal_form($form, &$form_state, $recipient) {
   );
   // Do not allow authenticated users to alter the name or e-mail values to
   // prevent the impersonation of other users.
-  if ($user->uid){
+  if ($user->uid) {
     // Change form elements to values.
     $form['name']['#type'] = $form['mail']['#type'] = 'value';
 
@@ -318,7 +326,15 @@ function contact_personal_form_submit($form, &$form_state) {
   }
 
   flood_register_event('contact', config('contact.settings')->get('flood.interval'));
-  watchdog('mail', '%sender-name (@sender-from) sent %recipient-name an e-mail.', array('%sender-name' => $values['name'], '@sender-from' => $from, '%recipient-name' => $values['recipient']->name));
+  watchdog(
+    'mail',
+    '%sender-name (@sender-from) sent %recipient-name an e-mail.',
+    array(
+      '%sender-name' => $values['name'],
+      '@sender-from' => $from,
+      '%recipient-name' => $values['recipient']->name,
+    )
+  );
 
   // Jump to the contacted user's profile page.
   drupal_set_message(t('Your message has been sent.'));
