diff --git a/remember_me.admin.inc b/remember_me.admin.inc
index 1c482e5..361c249 100644
--- a/remember_me.admin.inc
+++ b/remember_me.admin.inc
@@ -68,21 +68,21 @@ function remember_me_admin_settings($form, &$form_state) {
  */
 function theme_remember_me_settings_display($variables) {
   $rows = array(array());
-  
+
   foreach ($variables['vars'] as $var) {
     $element = array(
       'element' => array(
-          '#type' => 'markup',
-          '#children' => $var['#value'],
-          '#title' => $var['#title'],
-          '#title_display' => 'before',
-      )
+        '#type' => 'markup',
+        '#children' => $var['#value'],
+        '#title' => $var['#title'],
+        '#title_display' => 'before',
+      ),
     );
 
     $output = '<div class="container-inline">' . theme('form_element', $element) . '</div>';
     $output .= '<div class="description">' . $var['#description'] . '</div>';
-    
-    $rows[0][] = array( 'data' => $output);
+
+    $rows[0][] = array('data' => $output);
   }
   return theme('table', array('rows' => $rows));
 }
diff --git a/remember_me.install b/remember_me.install
index 8999a8d..265cf20 100644
--- a/remember_me.install
+++ b/remember_me.install
@@ -9,20 +9,21 @@
  * Implements hook_install().
  */
 function remember_me_install() {
-  // Place session management first in the module queue
+  // Place session management first in the module queue.
   db_update('system')
     ->fields(array(
-      'weight' =>  -99,
+      'weight' => -99,
     ))
     ->condition('name', 'remember_me')
-  ->execute();
+    ->execute();
 }
 
 /**
  * Implements hook_disable().
  */
 function remember_me_disable() {
-  // User object data field will have 'remember_me' key forever after you disable the module, lets remove that.
+  // User object data field will have 'remember_me' key forever after you
+  // disable the module, lets remove that.
   $users = user_load_multiple(FALSE);
   foreach ($users as $user) {
     if ($user->uid) {
@@ -37,19 +38,18 @@ function remember_me_disable() {
  * Implements hook_uninstall().
  */
 function remember_me_uninstall() {
-  
   $conf = variable_initialize();
 
-  // Delete all remember_me variables
+  // Delete all remember_me variables.
   foreach ($conf as $key => $value) {
     if (strpos($key, 'remember_me') === 0) {
       variable_del($key);
     }
   }
 
-  // Remove record from system table when uninstalling the module to reset weight
+  // Remove record from system table on uninstall to reset the module weight.
   db_delete('system')
-      ->condition('name', 'remember_me')
+    ->condition('name', 'remember_me')
     ->execute();
 
   drupal_set_message(t('Successfully removed all data for remember_me.'));
diff --git a/remember_me.module b/remember_me.module
index 579185c..9c53dff 100644
--- a/remember_me.module
+++ b/remember_me.module
@@ -62,7 +62,6 @@ function remember_me_user_login(&$edit, $account) {
 function remember_me_form_alter(&$form, $form_state, $form_id) {
   // Only make changes to these forms.
   if (in_array($form_id, array('user_login', 'user_login_block'))) {
-
     // Configuration for the remember me checkbox.
     $cbox['remember_me'] = array(
       '#title' => t('Remember me'),
@@ -71,20 +70,19 @@ function remember_me_form_alter(&$form, $form_state, $form_id) {
       '#attributes' => array('tabindex' => 1),
     );
 
-    $que = array();
-
     // Now lets try and insert it right after the password field in the document
     // and set the tabindex to 1 for each field so that we can jump in sequence.
+    $que = array();
     while (list($key, $val) = each($form)) {
       switch ($key) {
         case 'name':
         case 'pass' :
           $val['#attributes']['tabindex'] = 1;
-        break;
+          break;
         case 'actions':
           $form = $que + $cbox + $form;
           $form[$key]['submit']['#attributes']['tabindex'] = 1;
-        return;
+          return;
       }
       $que[$key] = $val;
     }
@@ -115,7 +113,7 @@ function remember_me_menu() {
     'page arguments' => array('remember_me_admin_settings'),
     'access arguments' => array('administer site configuration'),
     'file' => 'remember_me.admin.inc',
-    'type' => MENU_NORMAL_ITEM
+    'type' => MENU_NORMAL_ITEM,
   );
 
   return $items;
