diff --git a/image_hover_effects.module b/image_hover_effects.module
index 1aa14a0..4bc9caf 100755
--- a/image_hover_effects.module
+++ b/image_hover_effects.module
@@ -24,7 +24,7 @@ function image_hover_effects_field_formatter_settings_form_alter(&$settings_form
     $settings_form['image_hover_effects'] = array(
       '#title' => t('Image Hover Effect'),
       '#type' => 'select',
-      '#default_value' => ($settings['image_hover_effects'] !== null) ? $settings['image_hover_effects'] : 0,
+      '#default_value' => ($settings['image_hover_effects'] !== NULL) ? $settings['image_hover_effects'] : 0,
       '#options' => array(
         0 => t('None'),
         'zoom' => t('Zoom'),
@@ -46,7 +46,7 @@ function image_hover_effects_field_formatter_settings_form_alter(&$settings_form
       '#maxlength' => 128,
         '#states' => array(
           'visible' => array(
-          ':input[name="options[settings][image_hover_effects]"]' => array('!value' => '0'),
+            ':input[name="options[settings][image_hover_effects]"]' => array('!value' => '0'),
           ),
         ),
       '#description' => t('You may use tokens to display entity data. Example: [node:title]')
@@ -104,8 +104,6 @@ function image_hover_effects_field_attach_view_alter(&$output, $context) {
     $entity_info = entity_get_info($context['entity_type']);
     $token_type = isset($entity_info['token type']) ? $entity_info['token type'] : $context['entity_type'];
 
-
-
     if (isset($settings['image_hover_effects']) && $settings['image_hover_effects']) {
       $hover_content = token_replace($settings['image_hover_effects_data'], array($token_type => $context['entity']), ['sanitize' => FALSE]);
       $effect_class = drupal_html_class('ihe-overlay--' . $settings['image_hover_effects']);
@@ -120,7 +118,7 @@ function image_hover_effects_field_attach_view_alter(&$output, $context) {
     // Add 'class' setting to the attributes of all children elements.
     foreach (element_children($element) as $delta) {
       // Can only add classes to wrapping link not to image because image does
-      // not support the :after pseudo selector we use for overlays
+      // not support the :after pseudo selector we use for overlays.
       $element[$delta]['#path']['options']['attributes'] = array('class' => $classes, 'data-hover' => $hover_content);
     }
   }
