Skip to content

Conversation

@ismaildasci
Copy link
Contributor

This PR adds the missing @param string $name docblock annotation to the __isset() magic method in ValidatedInput.

Consistency: The other magic methods in this class (__get, __set, __unset) all have their @param annotations properly documented, but __isset() was missing it.

Before:

/**
 * Determine if an input item is set.
 *
 * @return bool
 */
public function __isset($name)

After:

/**
 * Determine if an input item is set.
 *
 * @param  string  $name
 * @return bool
 */
public function __isset($name)

Added the missing @param string $name annotation to the __isset() magic method for consistency with other magic methods in the class (__get, __set, __unset) and improved IDE support.
@taylorotwell taylorotwell merged commit cf8d0c6 into laravel:12.x Jan 19, 2026
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants