diff --git a/docs/hooks/hook_civicrm_alterBarcode.md b/docs/hooks/hook_civicrm_alterBarcode.md
index bd98866dec59965b2aacbe9f04b7cfe777986fa8..b9005c4f0ef5692d507bd60526c8187e3314ad0f 100644
--- a/docs/hooks/hook_civicrm_alterBarcode.md
+++ b/docs/hooks/hook_civicrm_alterBarcode.md
@@ -7,7 +7,7 @@ Available in 4.4+.
 
 ## Definition
 
-     hook_civicrm_alterBarcode( &$data, $type='barcode' $context='name_badge' );
+     hook_civicrm_alterBarcode( &$data, $type='barcode', $context='name_badge' );
 
 ## Parameters
 
@@ -28,4 +28,4 @@ Available in 4.4+.
         // change the encoding of barcode
         $data['current_value'] = $data['event_id'] . '-' . $data['participant_id'] . '-' . $data['contact_id'];
       }
-    }
\ No newline at end of file
+    }