Skip to content
Snippets Groups Projects
Commit 0302d2d9 authored by Kuntal Das's avatar Kuntal Das Committed by Marcin Grabias
Browse files

Issue #3276726 by kuntal_d: TypeError: Return value of userpoints_help() must...

Issue #3276726 by kuntal_d: TypeError: Return value of userpoints_help() must be of the type string or null, none returned in userpoints_help() (line 23 of modules/contrib/userpoints/userpoints.module)
parent 278bfa9b
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function userpoints_help($route_name, RouteMatchInterface $route_match): ?string {
function userpoints_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Help for the userpoints module.
case 'help.page.userpoints':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment