minor #35204 [Security-Guard] fix missing name tag in param docblock (jrushlow)
This PR was merged into the 4.4 branch.
Discussion
----------
[Security-Guard] fix missing name tag in param docblock
Added missing $credentials name tag to @param for getPassword()
to resolve PHPStan error and comply with the docBlock spec.
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | Fix #35203
| License | MIT
| Doc PR |
Added `[name]` tag to `@param` dockBlock for `PasswordAuthenticatedInterface::getPassword()` to comply with the docBlock "standard" and to eliminate PHPStan error's when analyzing `PasswordAuthenticatedInterface.php`
Commits
-------
555189ae2c
[Security-Guard] fixed 35203 missing name tag in param docblock
This commit is contained in:
commit
4103c16c6a
@ -19,7 +19,7 @@ interface PasswordAuthenticatedInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the clear-text password contained in credentials if any.
|
* Returns the clear-text password contained in credentials if any.
|
||||||
*
|
*
|
||||||
* @param mixed The user credentials
|
* @param mixed $credentials The user credentials
|
||||||
*/
|
*/
|
||||||
public function getPassword($credentials): ?string;
|
public function getPassword($credentials): ?string;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user