diff --git a/cacheflush.module b/cacheflush.module
index 80b1942..3f3abe6 100644
--- a/cacheflush.module
+++ b/cacheflush.module
@@ -200,6 +200,8 @@ function _cacheflush_get_option_list() {
  *   Cache tabels.
  * @param string $category
  *   Category to add.
+ *
+ * @return array
  */
 function cacheflush_create_tab_options(array $tabels, $category) {
 
diff --git a/modules/cacheflush_advanced/cacheflush_advanced.module b/modules/cacheflush_advanced/cacheflush_advanced.module
index b75fc14..cbf9794 100644
--- a/modules/cacheflush_advanced/cacheflush_advanced.module
+++ b/modules/cacheflush_advanced/cacheflush_advanced.module
@@ -247,6 +247,9 @@ function _cacheflush_advanced_table_row($delta, $cid = '', $table = '', $wildcar
 /**
  * AJAX callback for advanced table.
  *
+ * @param array $form
+ * @param array $form_state
+ *
  * @return array
  *   Advanced preset table via ajax.
  */
diff --git a/modules/cacheflush_memcache/cacheflush_memcache.module b/modules/cacheflush_memcache/cacheflush_memcache.module
index 2586492..6e94b78 100644
--- a/modules/cacheflush_memcache/cacheflush_memcache.module
+++ b/modules/cacheflush_memcache/cacheflush_memcache.module
@@ -232,6 +232,9 @@ function _cacheflush_memcache_table_row($delta, $memcache_cid = '', $table = '')
 /**
  * AJAX callback for memcache table.
  *
+ * @param array $form
+ * @param array $form_state
+ *
  * @return array
  *   Advanced preset table via ajax.
  */
diff --git a/modules/cacheflush_varnish/cacheflush_varnish.module b/modules/cacheflush_varnish/cacheflush_varnish.module
index 05efacd..687be02 100644
--- a/modules/cacheflush_varnish/cacheflush_varnish.module
+++ b/modules/cacheflush_varnish/cacheflush_varnish.module
@@ -118,7 +118,7 @@ function cacheflush_varnish_tab_validation($tab, &$form, &$form_state) {
 
   // Check for varnish preset.
   if (isset($form_state['values']['vertical_tabs_varnish']['cacheflush_varnish_table'])) {
-    foreach ($form_state['values']['vertical_tabs_varnish']['cacheflush_varnish_table'] as $key => $value) {
+    foreach ($form_state['values']['vertical_tabs_varnish']['cacheflush_varnish_table'] as $value) {
       if (isset($value['varnish_pattern'])) {
         unset($value['operations']);
         if (isset($form_state['values']['vertical_tabs_varnish']['cacheflush_varnish_table'])) {
@@ -206,6 +206,9 @@ function _cacheflush_varnish_table_row($delta, $pattern = '') {
 /**
  * AJAX callback for varnish table.
  *
+ * @param array $form
+ * @param array $form_state
+ *
  * @return array
  *   Advanced preset table via ajax.
  */
