How can users define the data type of parameters and variables in PHP Documentor?

To define the data type of parameters and variables in PHP Documentor, users can use the `@param` tag followed by the data type in the documentation block for functions or methods. This helps in documenting the expected data types for parameters and return values, making the code more readable and understandable for other developers.

/**
 * Add two numbers together
 *
 * @param int $num1 The first number
 * @param int $num2 The second number
 * @return int The sum of the two numbers
 */
function addNumbers(int $num1, int $num2): int {
    return $num1 + $num2;
}