diff --git a/block_class_tacac.info b/block_class_tacac.info
index 757b1a4..22e868a 100644
--- a/block_class_tacac.info
+++ b/block_class_tacac.info
@@ -1,4 +1,4 @@
 name = Block Class Taxonomy Autocomplete
 description = "This module creates a taxonomy vocabulary to store CSS Classes and use it for autocompleting on the Block Class module field."
 dependencies[] = block_class
-dependencies[] = taxonomy
\ No newline at end of file
+dependencies[] = taxonomy
diff --git a/block_class_tacac.install b/block_class_tacac.install
index 1861840..f3d71f1 100644
--- a/block_class_tacac.install
+++ b/block_class_tacac.install
@@ -1,24 +1,26 @@
 <?php
 
 /**
-* Implements hook_install().
-*/
+ * @file
+ */
+
+/**
+ * Implements hook_install().
+ */
 function block_class_tacac_install() {
-    $new_vocab = (object) array(
-        'name' => 'CSS Class',
-        'description' => 'Vocabulary created by module <strong>Block Class Taxonomy Autocomplete</strong>.',
-        'machine_name' => 'css_classes',
-    );
+  $new_vocab = (object) array(
+    'name' => 'CSS Class',
+    'description' => 'Vocabulary created by module <strong>Block Class Taxonomy Autocomplete</strong>.',
+    'machine_name' => 'css_classes',
+  );
 
-    taxonomy_vocabulary_save($new_vocab);
-} 
+  taxonomy_vocabulary_save($new_vocab);
+}
 
 /**
-* Implements hook_uninstall().
-*/
-function block_class_tacac_uninstall(){
+ * Implements hook_uninstall().
+ */
+function block_class_tacac_uninstall() {
   $vocab = taxonomy_vocabulary_machine_name_load('css_classes');
   taxonomy_vocabulary_delete($vocab->vid);
 }
-
-?>
\ No newline at end of file
diff --git a/block_class_tacac.module b/block_class_tacac.module
index 0ce6e18..41a65d0 100644
--- a/block_class_tacac.module
+++ b/block_class_tacac.module
@@ -1,81 +1,99 @@
 <?php
 
+/**
+ * @file
+ */
+
+/**
+ *
+ */
 function block_class_tacac_form_alter(&$form, &$form_state, $form_id) {
-    if (user_access('administer block classes') && ($form_id == 'block_admin_configure' || $form_id == 'block_add_block_form')) {
-        $form['settings']['css_class']['#autocomplete_path'] = 'css_classes/autocomplete';
-        $form['settings']['css_class']['#default_value'] = str_replace(" ", ", ", $form['settings']['css_class']['#default_value']);
-        $form['settings']['css_class']['#description'] = t('Customize the styling of this block by adding CSS classes. Separate multiple classes by comma.');
-
-        $form['#element_validate'][] = 'taxonomy_autocomplete_validate';
-        $form['#validate'][] = 'block_class_tacac_form_validate';
-        $form['#submit'][] = 'block_class_tacac_form_submit';
-    }
+  if (user_access('administer block classes') && ($form_id == 'block_admin_configure' || $form_id == 'block_add_block_form')) {
+    $form['settings']['css_class']['#autocomplete_path'] = 'css_classes/autocomplete';
+    $form['settings']['css_class']['#default_value'] = str_replace(" ", ", ", $form['settings']['css_class']['#default_value']);
+    $form['settings']['css_class']['#description'] = t('Customize the styling of this block by adding CSS classes. Separate multiple classes by comma.');
+
+    $form['#element_validate'][] = 'taxonomy_autocomplete_validate';
+    $form['#validate'][] = 'block_class_tacac_form_validate';
+    $form['#submit'][] = 'block_class_tacac_form_submit';
+  }
 }
 
+/**
+ *
+ */
 function block_class_tacac_menu() {
-    $items['css_classes/autocomplete'] = array(
-        'title' => '',
-        'description' => '',
-        'page callback' => 'block_class_tacac_autocomplete',
-        'access arguments' => array('administer block classes'),
-        'page arguments' => array(2),
-        'type' => MENU_CALLBACK,
-        'behaviors' => array(
-            'multiple values' => TRUE,
-        ),
-    );
-
-    return $items;
+  $items['css_classes/autocomplete'] = array(
+    'title' => '',
+    'description' => '',
+    'page callback' => 'block_class_tacac_autocomplete',
+    'access arguments' => array('administer block classes'),
+    'page arguments' => array(2),
+    'type' => MENU_CALLBACK,
+    'behaviors' => array(
+      'multiple values' => TRUE,
+    ),
+  );
+
+  return $items;
 }
 
+/**
+ *
+ */
 function block_class_tacac_autocomplete($string) {
-    $matches = array();
-
-    if ($string) {
-        $items = array_map('trim', explode(',', $string));
-        $tag_last = array_pop($items);
-        $prefix = implode(', ', $items);
-
-        $vocabulary = taxonomy_vocabulary_machine_name_load('css_classes');
-
-        $result = db_select('taxonomy_term_data', 't')
-                ->fields('t', array('tid', 'name'))
-                ->condition('vid', $vocabulary->vid, '=')
-                ->condition('name', db_like($tag_last) . '%', 'LIKE')
-                ->range(0, 10)
-                ->execute();
-
-        foreach ($result as $term) {
-            if (!in_array($term->name, $items)) {
-                $value = !empty($prefix) ? $prefix . ', ' . $term->name : $term->name;
-                $matches[$value] = check_plain($term->name);
-            }
-        }
-
-        drupal_json_output($matches);
+  $matches = array();
+
+  if ($string) {
+    $items = array_map('trim', explode(',', $string));
+    $tag_last = array_pop($items);
+    $prefix = implode(', ', $items);
+
+    $vocabulary = taxonomy_vocabulary_machine_name_load('css_classes');
+
+    $result = db_select('taxonomy_term_data', 't')
+      ->fields('t', array('tid', 'name'))
+      ->condition('vid', $vocabulary->vid, '=')
+      ->condition('name', db_like($tag_last) . '%', 'LIKE')
+      ->range(0, 10)
+      ->execute();
+
+    foreach ($result as $term) {
+      if (!in_array($term->name, $items)) {
+        $value = !empty($prefix) ? $prefix . ', ' . $term->name : $term->name;
+        $matches[$value] = check_plain($term->name);
+      }
     }
+
+    drupal_json_output($matches);
+  }
 }
 
+/**
+ *
+ */
 function block_class_tacac_form_validate($form, &$form_state) {
-    form_set_value($form['settings']['css_class'], str_replace(",", "", $form['settings']['css_class']['#value']), $form_state);
+  form_set_value($form['settings']['css_class'], str_replace(",", "", $form['settings']['css_class']['#value']), $form_state);
 }
 
+/**
+ *
+ */
 function block_class_tacac_form_submit($form, &$form_state) {
-    $vocabulary = taxonomy_vocabulary_machine_name_load('css_classes');
-    $terms = explode(",", $form['settings']['css_class']['#value']);
-    $terms = array_filter($terms); //removendo nomes em branco
+  $vocabulary = taxonomy_vocabulary_machine_name_load('css_classes');
+  $terms = explode(",", $form['settings']['css_class']['#value']);
+  // Removendo nomes em branco.
+  $terms = array_filter($terms);
 
-    foreach ($terms as $term) {
-        $newterm = new stdClass();
-        $newterm->name = trim($term);
-        $newterm->vid = $vocabulary->vid;
+  foreach ($terms as $term) {
+    $newterm = new stdClass();
+    $newterm->name = trim($term);
+    $newterm->vid = $vocabulary->vid;
 
-        $find = taxonomy_get_term_by_name($newterm->name, $vocabulary->machine_name);
+    $find = taxonomy_get_term_by_name($newterm->name, $vocabulary->machine_name);
 
-        if (count($find) == 0) {
-            taxonomy_term_save($newterm);
-        }
+    if (count($find) == 0) {
+      taxonomy_term_save($newterm);
     }
+  }
 }
-
-?>
\ No newline at end of file
