diff --git a/src/AntiCSRF.php b/src/AntiCSRF.php
index <HASH>..<HASH> 100644
--- a/src/AntiCSRF.php
+++ b/src/AntiCSRF.php
@@ -77,7 +77,7 @@ class AntiCSRF
 
 	    if( $echo ) {
 		    echo $ret;
-		    return;
+		    return null;
 	    }
         return $ret;
     }
consistent return value

"null" is returned anyway if called with no value