Merge pull request #20308 from masetto/master
[civicrm-core.git] / Civi / Test / HookInterface.php
index bd3fee8acf16c2a8bc77d163a10e6133d928db78..12b0cb7588d10b4f0a6f019fd35878e8e809b3c4 100644 (file)
@@ -21,10 +21,10 @@ namespace Civi\Test;
  *
  * ```
  * class MyTest extends \PHPUnit_Framework_TestCase implements \Civi\Test\HookInterface {
- *   public function on_civi_api_authorize(AuthorizeEvent $e) {
+ *   public function on_civi_api_authorize(AuthorizeEvent $e): void {
  *     echo "Running civi.api.authorize\n";
  *   }
- *   public function on_hook_civicrm_post(GenericHookEvent $e) {
+ *   public function on_hook_civicrm_post(GenericHookEvent $e): void {
  *     echo "Running hook_civicrm_post\n";
  *   }
  * }