Correct the documentation comments for the user_activity_log.module file

Created on 29 March 2024, 8 months ago
Updated 1 April 2024, 8 months ago

The content of the user_activity_log.module file is the following.

/**
 * @file
 * Implements hook_theme().
 */

function user_activity_log_theme($existing, $type, $theme, $path) {
  // {@inheritdoc}.
  return [
    'user_activity_log_tpl' => [
      'variables' => [
        'nodes_count' => NULL,
        'comment_count' => NULL,
        'list_nodes' => NULL,
        'list_comments' => NULL,
      ],
      'template' => 'user-activity-log-tpl',
    ],
  ];
}

The description for the module file is wrong.
The hook implementation misses its documentation comment.
{@inheritdoc} is not used in comments inside functions nor methods.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024